Upgrading to Ruby 2.1.3 on MAC Osx 10.9.5

Upgrading to Ruby 2.1.3 on Mac OSx 10.9.5

So the solution, which resolved the issue is to run the following:

$ brew rm cloog; brew install cloog 

Ta-Ta. It all worked all of the sudden!

$ ruby -v
ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-darwin13.0]

Unable to build Ruby 2.1.3 on OSX 10.10 GM 3.0 with rbenv

The Homebrew package for gcc on Yosemite seems to be broken. That's why it doesn't work.

Had the same issue. Running:

CC=/usr/bin/gcc rbenv install 2.1.3

worked for me.

OpenSSL error installing ruby 2.0.0-p195 on Mac with rbenv

Try adding OpenSSL to the config options using the --with-openssl-dir option:

$ CONFIGURE_OPTS="--with-openssl-dir=`brew --prefix openssl`" rbenv install 2.0.0-p195

If you're using Homebrew, you'll need to install OpenSSL before running the above by running:

$ brew install openssl

UPDATE (see @JarkkoLaine 's comment below):

Just for the record, you should not need to use the config opts
anymore with ruby-build and homebrew. However, I had to reinstall
openssl with homebrew to make it work: brew uninstall openssl; brew
upgrade; brew install openssl; rbenv install 2.0.0-p247. See this for
more info.



Related Topics



Leave a reply



Submit