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
How to Parse Xml Nodes to CSV with Ruby and Nokogiri
In Rspec, Using Let Variable Inside Before :All Block
Ruby on Rails: Converting "Somewordhere" to "Some Word Here"
How Is Ruby Tcpsocket Timeout Defined
Argumenterror: Wrong Number of Arguments (1 for 2)
Action Mailer Smtp Google Apps
How to Remove a Row from a CSV with Ruby
How to Write Down the Rspec to Test Rescue Block
Why Does Ruby Release Memory Only Sometimes
Word Document.Saveas Ignores Encoding, When Calling Through Ole, from Ruby or Vbs
Ssl_Connect Returned=1 Errno=0 State=Sslv3 Read Server Certificate B: Certificate Verify Failed MAC
How to Test Whether a String Would Match a Glob in Ruby
Can't Find Gem Railties (>= 0.A) with Executable Rails (Gem::Gemnotfoundexception)
Why Does Date.Yesterday Counts as Date.Today Also
Ruby, How to Access Local Variables Outside the Do - End Loop
Case-Insensitive Find_Or_Create_By_Whatever