Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question
Tag: ruby-on-rails
How to get Puma and Nginx to run in Rails production?
Fighting for months with this, another new career path blooming every week, it seems, I look down. So, that said. Here’s the closest I’ve come. I had it working several times, but it’s so brittle as I’m more a developer than a devops (?) person. I am running Ubuntu 20.04. I can run pumactl as so: bundle exec pumactl -T
Rails task not running unless rails runner has been executed in the command prompt since the linux server machine’s bootup
I’m trying to execute this task to update a large amount of data from a controller so that when an administrator user accesses this method it will run the said task. I’ve confirmed that there aren’t any issues with the task itself, but I’m not so sure about the way it’s being called. The problem I’m running into is that
rails s command issue
The rails s command is showing this issue bellow; I have no idea what it is? this project use to run fine; I haven’t change much either. My env: The weird thing is that I execute the same command in another project and it run just fine. I am missing something? If I try the command along it work but
how to add environment variable in linux for rails app?
i need to set an environment variable for the rails app to use the config settings for production is as shown below how can i set the environment variable using the linux command I tried to set the variable but looks like it needs to be for the right user. Sorry i am not an expert in linux. I appreciate
Fedora, Rails: Make sure that `gem install pg -v ‘0.19.0’` succeeds before bundling
I’m new to Linux, and I just installed a distro korora based on fedora. I installed rails but when i try to create new project and write bundle install in the terminal i got this error I don’t know what to do and I want to solve this problem as possible as I can. Answer You need to install the
Ruby On Rails Fails on Fresh Ubuntu, Mint, and Fedora Because of Debug inspector failing
I have tried in the last week with a fresh copy of Linux mint 18 Ubuntu 16.04 and fedora 24?(the latest one). All 3 give me the error with debug inspector. xjackparsons93@93 ~/ty $ bundle install This problem is not affecting my MacBook Pro only linux boxes Answer This can help you: If you have issues, first make sure you
Error: mime-types-data requires Ruby version >= 2.0
I recently install clean ubuntu14.04 virtual machine in vware fusion and updated it. I am trying to install the mime-tyes-data by sudo gem install mime-types-data -v 3.2015.1120 The error shows ERROR: Error installing mime-types-data: mime-types-data requires Ruby version >= 2.0. Before that I already update ruby version by sudo apt-get install ruby2.0 sudo ln -sf /usr/bin/ruby2.0 /usr/bin/ruby It seems my
Where is mod_passenger.so, installed with yum?
I have a combo of Centos 6-Apache-Passenger-Ruby. Install was made following instructions here. I also have whm, which means changes to httpd.conf must be made by click. While trying to include /etc/httpd/conf.d/*.conf, tells me there is an error because: Cannot load /usr/local/apache/modules/mod_passenger.so into server. Problem is this line at /etc/httpd/conf.d/passenger.conf: Last part of the sentence should point to actual mod_passenger.so,
Permission denied in Rails app (Redmine) running with Thin
I’m trying to run Redmine with Thin and nginx as reverse proxy. My /etc/thin2.1/redmine.yml: When I access the site with my web browser I get a 502 Bad Gateway. This is the content of /var/log/thin/redmine.0.log: I don’t understand what causes this error. The .pid files in /var/run/thin/ are owned by root. I tried to give ownership to either redmine and