Answer the question
In order to leave comments, you need to log in
How to run a RoR application in production?
Hello, I'm trying to run an application on ruby on rails using a script:
#!/bin/sh
/home/gnm/bin/delayed_job start
cd /home/gnm/
rpush start -e $RAILS_ENV
nohup rails s -e $RAILS_ENV -b ************ 2>&1
#
exit 0
Answer the question
In order to leave comments, you need to log in
Чтобы запустить приложение ROR в режиме продакшн:RAILS_ENV=production bundle exec rails s
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question