upgarde Ruby to 1.8.7 mac os 10.5
I'm trying to upgrade Ruby to 1.8.7 but I got problems ! I follow this tutoriel whith no success ! I tried to install RVM but with this command
$ bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
I got an error :
Missing name for redirect
I real开发者_高级运维ly don't understand how to tell the system to use ruby 1.8.7 ! I need to upgrade because I need to upgarde rails to version 3.
I already did a lot a search on stackoverflow, google but I'm stuck ! I don't find the solution !
Thanks to help me !
You have a space between your two angle brackets (<<). Remove the space and the command will work.
As a side note, Ruby 1.8.7 is deprecated. Unless you have a specific need for the 1.8.x branch, Ruby 1.9.x should be your target.
edit
Make sure you have all the necessary tools installed. The script invokes git
which you'll need to install.
精彩评论