By brandonG
I’m very new at deployment and I have been mostly working on windows machine. So what I’m trying to do right now is to update the droplet version from using ruby 2.1.3 and rails 4.0.2 to using ruby 2.0.0 and rails 4.1.4.
I have been trying to look up tutorial on this but so far I found nothing, any suggestion would help thanks.
Droplet is currently in its default set up Ubuntu Ruby on Rails on 14.04 (Nginx + Unicorn) Ruby 2.1.3 Rails 4.0.2
Update: Successfully changed to ruby-2.0.0-p481 with rvm rvm use ruby-2.0.0-p481 or to set it to default rvm --default use ruby-2.0.0-p481
still working on rails
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!
Changing rails version is just installing the right version of the gem.
gem install rails -v 4.1.4 did the job
Note: After switching to ruby 2.0.0 there is not ruby on rails that goes with it.
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.