Hi,
Recently I have spin up server Ubuntu, Rails … server is running well. However, in case you update rails folder under /home/rails stuff will not work any longer due to the fact services such nginx & unicorn need to be stopped, besides in rails directory ruby precompile command need to run each time update has been done. This is a bit problem for those who need updating theirs rails app, therefore I have written small script doing all at once so in case you would like to take a look at I can send you so you could eventually publish it?
Thx!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I know this is an old post, but that script sounds interesting! For anyone stumbling across this, you might want to look into using a tool like Capistrano for deploying changes to your Rails application. Among other things, it allows you write post-deployment hooks to run the various tasks needed. For more info, check out:
If you’re using the DigitalOcean One-Click app, make sure to see the accompanying tutorial for the configuration details.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.