I'm using Capistrano for deployment of rails application; how can one file be updated on the server without making a new release?
For example :
Suppose I made changes to only my UserController.rb. and committed it the to git server,
how should I get this update onto the server without making a new deployment.
Capistrano has a deploy task for updating single files where a full deploy isn't necessary.
cap -e deploy:upload
In your case it would probably be like this:
cap deploy:upload FILES='app/controllers/UserController.rb'
You might also have to restart your app
cap deploy:restart
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With