开发者

Replace default Ruby version in OSX Lion

开发者 https://www.devze.com 2023-03-31 13:58 出处:网络
I don\'t have any 1.8.x Ruby apps to maintain so I was thin开发者_运维百科king about getting rid of RVM by replacing pre-installed Ruby with the 1.9 version on my OS X Lion.

I don't have any 1.8.x Ruby apps to maintain so I was thin开发者_运维百科king about getting rid of RVM by replacing pre-installed Ruby with the 1.9 version on my OS X Lion.

Is it possible? How do I do it? Should I just delete the current interpreter and replace it with a new one?

Or is there a better way to always have 1.9.2 at hand? All I want is a Lion with 1.9.2 :-)


If all you want is a Lion with Ruby 1.9.2, just install it (either compile it yourself or through Homebrew) and make sure to add the relevant directories to your PATH before the one's of the system Ruby.


I think you can use homebrew to update your ruby on osx, check brew info ruby to have more info on the version installed, etc.

0

精彩评论

暂无评论...
验证码 换一张
取 消