By Zukohone
Hello i’m new to ruby application deplloy, but when i using to learn. but when i learn rails i used Webrick locally and i could setup and use many Envs, how i do that in unicorn? how can i have online application running in a version when i chage, upgrade and test my application without interfer in my running application?
PS: How i see the realtime log in unicorn, like the webrick when i run the “Rails s”?
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 had the same problem and after lots of hunting found the file /etc/default/unicorn - edit this and change production to whatever environment you need under UNICORN_OPTS
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.