简体   繁体   中英

How update the ruby version on a old rails project

I have a rails 3 app that was made with 2.0.0-p0 ruby.

Now i would like to update just the ruby to 2.2.2

I changed already the local and global ruby on rbenv to 2.2.2.

There is a way or i have to keep using the 2.0.0-p0 on this app?

You have switched to another version of Ruby and you are probably using a different gemset (probably an empty one). Try running:

bundle install

Note that after switching to a newer version of Ruby, some of your old code might not be compatible, ie need debugging.

Hope this help!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM