Running into Issues with Rvm During Ruby Install (1.9.2)

Make error installing Ruby 1.9.2 with RVM and Readline under OSX Lion

I had a very similar issue. I eventually found that adding this to my .bash_profile stopped my initial make errors:

export ARCHFLAGS="-arch x86_64"

Also from the command line run the following:

brew install readline
brew link readline
brew install libxml2
brew link libxml2

Then when you install ruby use this command:

rvm install 1.9.2 -C --with-readline-dir=/usr/local/Cellar/readline/6.2.1/ --with-libxml2-dir=/usr/local/Cellar/xml2/2.7.8

Hope that helps

rvm install 1.9.2 fails when running autoconf?

I figured it out. The key is this line:

ruby-1.9.2-p0 - #extracted to /Users/lee/.rvm/src/ruby-1.9.2-p0 (already extracted)

Apparently if there is an error during your first attempt the directory for the 1.9.2 package is not removed. (In my case, the autoconf files were not properly downloaded.) Any subsequent attempts see the directory and does not attempt to download the package again.

You need to remove the ruby-1.9.2-p0 directory. I assume this could be a problem with any version.

Hope this helps someone else.

Trouble Installing Ruby 1.9.2 with RVM Mac OS X

I don't know if you're still on it, but i succeeded just by doing this ::

sudo rm /usr/local/lib/libz.*

:)

Probably some software has installed a wrong lib... Well wrong architecture

Error while installing ruby2 with rvm

try this:

CC=clang rvm reinstall 2.0.0-p0

it will compile but might result in other errors later (I'm working on finding what causes the original issue).



Related Topics



Leave a reply



Submit