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
Irb: How to Start an Interactive Ruby Session with Pre-Loaded Classes
Scraping/Parsing Google Search Results in Ruby
How to Put a Delay on a Loop in Ruby
Where to Put a Before_Filter Shared Between Multiple Controllers
Openssl Trouble with Ruby 1.9.3
Devise Install from Existing Model/Database
Rails: Detecting User Agent Works in Development But Not Production
How to Deal with App_Key and App_Secret (Dropbox API)
How Get Best Performance Rails Requests Parallel Sidekiq Worker
How to Force Rails to Load All Models
Lion Osx: How to Install Libfreetype.6.Dylib
How to Quickly Reorder a Ruby Array Given an Order
Nil.To_JSON Cannot Be Parsed Back to Nil
Get an Array from a Rails Form
Sorting a Hash in Ruby by Its Value First Then Its Key
Using Activerecord Find_In_Batches Method for Deleting Large Data