New answers tagged ruby-on-rails
1
Check the permissions for /home/username/rails-live/rails-app/public.
Make sure the user running nginx has read and execute permisssions.
1
If you server is running Nginx+Passeneger , you can start your Ruby application in the following way:
cd /home/user/rails_apps/user; sudo -u user /usr/local/bin/ruby /usr/local/bin/passenger start -p 12045 -e production &
sudo -u user /usr/local/bin/ruby /usr/local/bin/passenger start -p 12421 -e production & - the command for running is screen
...
Top 50 recent answers are included