I’m having trouble deploying overall, but after tweaking various configs all day, deploying seems to be successful.
But when I go to my site, I just see the nginx page.
I try to restart unicorn and it always fails:
$cap production deploy:restart --trace ** Invoke production (first_time) ** Execute production ** Invoke load:defaults (first_time) ** Execute load:defaults ** Invoke rbenv:validate (first_time) ** Execute rbenv:validate DEBUG[b052635f] Running /usr/bin/env [ ! -d /home/deploy/.rbenv/versions/2.1.2 ] on 220.127.116.11 DEBUG[b052635f] Command: [ ! -d /home/deploy/.rbenv/versions/2.1.2 ] DEBUG[b052635f] Finished in 1.465 seconds with exit status 1 (failed). ** Invoke rbenv:map_bins (first_time) ** Execute rbenv:map_bins ** Invoke bundler:map_bins (first_time) ** Execute bundler:map_bins ** Invoke deploy:restart (first_time) ** Execute deploy:restart ** Invoke deploy:clear_cache (first_time) ** Execute deploy:clear_cache
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!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!