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`
Make error installing Ruby 1.9.2 via rvm OSX Lion 10.7.2 XCode 4.2
This error has been fixed in 1.9.2-head ... so just
rvm install 1.9.2-head && rvm use 1.9.2-head --default
I'm finding 1.9.3 isn't compatible with a lot of the libraries I use yet. This works with Xcode 4.2.
help installing Ruby 1.9.2 on Lion GM
Mac OS X Lion is not yet released. I've read reports of several bugs in Lion GM (among which even as severe as kernel panics), this is probably also a Lion (or Xcode 4.2) bug, and if not, it's a Ruby bug. RVM is certainly not the cause, as your output indicates the compiled Ruby is crashing.
I would recommend that you wait until Lion is released.
Edit: Now that Lion and Xcode 4.1 is released, I see the issue has been fixed.
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
problem with installing ruby 1.9.2 on OS X 10.6.8
I am writing an answer to my own question for anyone with the same problem that I've suffered!
The problem was with "rvm"!
I updated rvm instead of removing it (in some cases, it would be a good idea to completely remove rvm from your system, and re-install it). I followed rvm instructions: http://beginrescueend.com/rvm/install After updating rvm, I was able to install Ruby 1.9.2(!!), and the problem with
"rake" command was gone!!!
I should have suspected rvm sooner, then I wouldn't have wasted one week!
PS Try avoid using sudo when it is not necessary when installing. Someone mentioned that he/she used "sudo" to install when he/she didn't have to, and it just created the same problem as I was having!
Related Topics
How to Call a Method That Is a Hash Value
Rotate Bits Right Operation in Ruby
Rmagick Error After Installing Os X Mavericks
Ssl_Connect Error When Accessing Shopify API with Rubygem
Rails 3 and PDFkit. How to Specify Page Size
Fileutils.Mv Throwing Invalid Char \302 and \255 Exception
Activerecord_Postgis_Adapter: Undefined Method 'Point' for Nil:Nilclass
How to Capture a Part of a Screen Using Ruby on Windows
Ruby on Rails - $ Rails Server Fails Because Uglifier Gem Could Not Be Found
Error Creating Rails Db Using Rake Db:Create
Best Way to Find_Or_Create_By_Id But Update the Attributes If the Record Is Found
Having Difficulty Accessing Validation Errors in Sinatra
Net-Ssh and Remote Environment
Selenium2 Webdriver Ruby => How Click on a Hidden Link
What Regex How to Use to Get the Domain Name from a Url in Ruby