Search code examples
ruby-on-railsrubyruby-on-rails-4ruby-1.9.3

How do I upgrade a rails 4.1 app from ruby 1.9.3 to ruby 2.1.5 without using rvm


I'm told to update my rails project from ruby version 1.9.3 to 2.1.5 but I don't know how

2.1.5 is my ruby version

I updated my gem file to reflect 2.1.5, and then tried bundle install again, it seemed to work mostly...

Then I tried rake db:migrate and it couldn't handle it. so I don't think I "updated correctly"

enter image description here

I don't have RVM so I didn't know what to do with this answer.

Can someone please help me update my code or point me in the right direction?


Solution

  • You're on Windows? Check out Ruby installer here: http://rubyinstaller.org/. Should be able to update Ruby that way.