I upgraded to Ruby 2.0, but when I am in my project directory, entering rvm use 2.0
followed by rvm list
shows 2.0 is selected, but my .ruby-version
file is unchanged. Is this supposed to be the case and I should edit the file manually, or have I missed something?
Asked
Active
Viewed 57 times
2

sawa
- 165,429
- 45
- 277
- 381

Matt Gibson
- 14,616
- 7
- 47
- 79
2 Answers
1
You are supposed to edit it manually. When you cd
into the directory with a .ruby-version, rvm will automatically use the version defined in it. So instead of rvm use 2.0
, just edit your .ruby-version and RVM will automatically switch for you.

Logan Serman
- 29,447
- 27
- 102
- 141
1
Well, if you use rvm use 2.0
its taking affect system wide. But the .ruby-version
its for project scope and it wont update running this command.
So, you'll need update it manually.

Victor Rodrigues
- 149
- 8