سؤال

I installed with railsinstaller with Ruby version 1.9.3

Can I simply change my Gemfile to specify a different version of Ruby, or does updating Ruby not work like gems? I don't want to break anything during my fiddling.

I wish to avoid:

1) having to reinstall railsinstaller alpha with 2.0.0

2) downloading a separate package like RVM

3) having to do backup operations with files, databases, etc.

Gem updates can bypass all 3 obstacles very easily. Is this also possible with Ruby itself?

هل كانت مفيدة؟

المحلول

It is recommended you use RVM. Then you can switch between Ruby versions. You will still have to tell the Gemfile to use ruby '2.0.0'

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top