Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't install Ruby Enterprise Edition with RVM on OSX Lion

Here is what I have done so far.

  1. Clean install of OS X Lion
  2. Downloaded and installed latest version of Xcode from the App Store.
  3. Installed Git
  4. Installed Homebrew
  5. Installed RVM

I am now trying to install Ruby Enterprise Edition for a project with rvm install ree and receive the following error:

$ rvm install ree ree-1.8.7-2011.03 - #installing ERROR: Error running './installer -a /Users/FaraazKhan/.rvm/rubies/ree-1.8.7-2011.03   --no-tcmalloc --dont-install-useful-gems ', please read   /Users/FaraazKhan/.rvm/log/ree-1.8.7-2011.03/install.log ERROR: There has been an error while trying to run the ree installer. Halting   the installation. 

I have already tried CC=/usr/bin/gcc-4.2 rvm install ree and with the same result.

like image 813
Faraaz Khan Avatar asked Jul 24 '11 00:07

Faraaz Khan


People also ask

Where does RVM install to?

Single-User Install Location: ~/. rvm/ If the install script is run as a standard, non-root user, RVM will install into the current users's home directory.


1 Answers

I was able to duplicate your error, just now. This solved it for me:

$ rvm remove ree
$ export CC=/usr/bin/gcc-4.2
$ rvm install --force ree

like image 171
JofoCodin Avatar answered Sep 29 '22 09:09

JofoCodin