Trouble Installing Ruby 1.9.2 with Rvm MAC Os X

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

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

Installing Ruby 1.9.2 with RVM fails on OS X Lion

When upgrading from 10.5 to 10.6 I had to nuke out all my installed source-built libraries and start over to fully resolve the 32-bit to 64-bit conversion issues. You may find you need to force-rebuild all of your brew packages.

Under MacPorts you just remove the /opt directory, salvaging any database files that might be in there first, and re-install everything again. I'm sure there's a similar procedure for Brew.

There's a way to alter the library load path, too, to set priority, but MacPorts does seem to handle this for you. otool can help diagnose which libraries are being loaded:

otool -L `which ruby`

Problem installing Ruby 1.9.2 using RVM on Mac OS X Snow Leopard

After hours of frustration I ended up loading Mac OS X Lion and Xcode 4 on my Macbook Air, then tried running rvm install ruby-1.9.2-p290 again and it worked without a problem.



Related Topics



Leave a reply



Submit