简体   繁体   中英

Replace default Ruby version in OSX Lion

I don't have any 1.8.x Ruby apps to maintain so I was thinking 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 :-)

如果您想要的只是Lion with Ruby 1.9.2,只需安装(可以自己编译或通过Homebrew进行编译),并确保将相关目录添加到PATH之前的Ruby。

我认为您可以使用自制软件在osx上更新Ruby,检查brew info ruby以获取有关已安装版本的更多信息,等等。

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