Hi. Currently the droplet started with application rails image has ruby 2.0.0 and rails 4. I’m trying to downgrade but haven’t been able to do so. Basically my steps were:
export GEM_HOME=/usr/local/rvm/gems/ruby-1.9.3-p547 export GEM_PATH=/usr/local/rvm/gems/ruby-1.9.3-p547:/usr/local/rvm/gems/ruby-1.9.3-p547@global DAEMON=/usr/local/rvm/gems/ruby-1.9.3-p547/bin/unicorn
Error I get:
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!
After you install 1.9.3, make sure you also install the necessary gems that we installed system wide for 2.0.0. Use rvm to switch back to 2.0.0 and run <code>gem list</code> to see the full list of gems that were installed system wide for the default install. The key one is of course unicorn.
Also make sure you update the value for <code>PATH</code> in the unicorn configuration file at <code>/etc/default/unicorn</code>
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.