+12 votes
1.3k views
in Programming by (320 points)
Troubleshoot installing ruby with rvm in Mac OS X 21.1.17 10.8.4

1 Answer

+12 votes
by (201k points)
Hello again to all,
 
Today I bring you another solution to a problem that I just arise installing a version of ruby via rvm in my RoR development environment in Mac OS X 10.8.4 ( the same as I told you how to install in another post) .
 
The problem that I bring is given to installing a ruby with rvm in my case the instruction that caused the error is :
 
$ > rvm install ree - 1.8.7 - 2012.02
 
and after trying to install on my computer , I received the following error:
 
Error running ' env CFLAGS = -I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libksba/include -I/usr/local/opt / openssl098/include LDFLAGS = -L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt / openssl098/lib . / installer -a / Users / [user ] / .rvm/rubies/ree-1.8.7-2012.02 -no- tcmalloc -dont- install- useful -gems '
please read / Users / [user ] / .rvm/log/ree-1.8.7-2012.02/1377025151_install.log
 
Tell me if not bonico :)
 
The solution I 've found is:
 
1. Before this error I got a warning warning me that did not have the latest version of openssl . So through homebrew I installed the latest version :
 
$ > Brew install openssl
 
2. Rvm I upgraded to the latest version :
 
$ > Rvm get head
 
Three . I went to install that version of ruby
 
$ > Rvm install ree
 
This time everything went smoothly :)
Ask a Question
Welcome to WikiTechSolutions where you can ask questions and receive answers from other members of the community.

You can ask a question without registration.

Categories

...