Answer the question
In order to leave comments, you need to log in
Trouble deploying a rails app?
I have a need to run two rails applications on the same server. I deploy via capistrano. If I run one application at a time, then everything is fine and they work. But when trying to run two applications, a startup error occurs. More precisely, the second application simply does not start. Error "There are no Phusion Passenger-served applications running whose paths begin with '/home/develop/fsfr/ruby/'" Tell me
what to do to run these two applications.
nginx configs
server {
listen 80;
listen [::]:80;
server_name app.finosnova.com;
location / {
root /home/develop/fin_osnova/ruby/current/public;
passenger_enabled on;
rails_env production;
}
}
server {
listen 80;
listen [::]:80;
location / {
root /home/develop/fsfr/current/public;
passenger_enabled on;
rails_env production;
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question