You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One subtlety that got me into trouble: in production.rb, there's the choice of roles to launch, from %w{web app db}. As I was only putting up a single server, I chose web and deleted the other two. Upon reflection, this was not a good choice, as I imagine web is meant to indicate a web worker rather than a web server.
Thing was, it produced thoroughly mystifying results as tasks silently failed to run, compile and rsync assets, etc. Very frustrating until I read through the tasks again and noticed that many of them specified :app.
Not a proper bug report, just a request: it would be a huge help if the docs or readme made a note of this important choice. I imagine others are likely to run into it as well.
Thanks again for a great repo!
The text was updated successfully, but these errors were encountered:
First, thanks for an outstanding repo. Wouldn't have gotten anywhere without this and your accompanying post at http://www.talkingquickly.co.uk/2014/01/deploying-rails-apps-to-a-vps-with-capistrano-v3/
One subtlety that got me into trouble: in
production.rb
, there's the choice of roles to launch, from%w{web app db}
. As I was only putting up a single server, I choseweb
and deleted the other two. Upon reflection, this was not a good choice, as I imagineweb
is meant to indicate a web worker rather than a web server.Thing was, it produced thoroughly mystifying results as tasks silently failed to run, compile and rsync assets, etc. Very frustrating until I read through the tasks again and noticed that many of them specified
:app
.Not a proper bug report, just a request: it would be a huge help if the docs or readme made a note of this important choice. I imagine others are likely to run into it as well.
Thanks again for a great repo!
The text was updated successfully, but these errors were encountered: