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
Telling Bundler to Exclude Certain Gems from a Particular Gem's Installation
Sorting an Array by Two Values
Pg_Config, Ruby Pg, Postgresql 9.0 Problem After Upgrade, Centos 5
Database Cleaner Not Working in Minitest Rails
Find Number of Bytes a Particular Hash Is Using in Ruby
Getaddrinfo Error with Mechanize
How to Get the Number of Elements Having Same Attribute in HTML in Watir
Rails How to Change Attribute Name When Rendering JSON
Ruby: Differencebetween the Comparatives: "||" and "Or"
Rails/Activerecord: Save Changes to a Model's Associated Collections
Extending a Class Method in a Module
What Is the Purpose of Redo and Retry Statements in Ruby
How to Use Objects with Xsi:Types in Savon
How to Tell Which Openssl Lib Is Actually Being Used by an Rvm-Installed Ruby
In Rails, How to Access Response.Body in a Action Before It Returns