后来我尝试了一下rvm 但是安装完 我就崩溃了 代码如下
$ bash < <( curl
http://rvm.beginrescueend.com/releases/rvm-install-head )
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
109 986 109 986 0 0 1626 0 --:--:-- --:--:-- --:--:-- 3851
Cloning into rvm...
remote: Counting objects: 16558, done.
remote: Compressing objects: 100% (4467/4467), done.
remote: Total 16558 (delta 11155), reused 15843 (delta 10649)
Receiving objects: 100% (16558/16558), 2.94 MiB | 8 KiB/s, done.
Resolving deltas: 100% (11155/11155), done.
RVM: Shell scripts enabling management of multiple ruby environments.
RTFM:
http://rvm.beginrescueend.com/ HELP:
http://webchat.freenode.net/?channels=rvm (#rvm on
irc.freenode.net)
Installing RVM to /Users/ez6490/.rvm/
Correct permissions for base binaries in /Users/ez6490/.rvm/bin...
Copying manpages into place.
Notes for Darwin ( Mac OS X )
For Snow Leopard be sure to have Xcode Tools Version 3.2.1 (1613) or later
You should download the latest Xcode tools from
developer.apple.com.
(This is since the dvd install for Snow Leopard contained bugs).
If you intend on installing MacRuby you must install LLVM first.
If you intend on installing JRuby you must install the JDK.
If you intend on installing IronRuby you must install Mono (version 2.6 or greater is recommended).
To seamlessly abandon the Apple-installed system ruby (ruby 1.8.7 patchlevel 174 for Snow Leopard):
rvm install 1.8.7 # installs patch 302: closest supported version
rvm system ; rvm gemset export system.gems ; rvm 1.8.7 ; rvm gemset import system # migrate your gems
rvm --default 1.8.7