Ruby and You must recompile Ruby with OpenSSL support or change the sources in your Gemfile
The new way to do it, according to a comment by @Purplejacket above, is the following:
rvm autolibs homebrew
rvm install 2.1.1
rvm use 2.1.1
It's much easier.
Not able to bundle with ruby installed with rbenv
Uninstall your ruby and try to reinstall it like
CONFIGURE_OPTS="--with-opt-dir=/usr/local/opt/openssl" rbenv install 1.9.3-p484
Or try this
RUBY_CONFIGURE_OPTS=--with-openssl-dir=/opt/local rbenv install 1.9.3-p484
troubles with RVM and OpenSSL
Try this:
rvm get head
rvm pkg remove
rvm requirements run # if brew gives you warnings about formulas to install, run "brew install" for each before moving on.
rvm reinstall [the version you need (i.e: 2.0.0)]
Related Topics
Typeerror: Superclass Mismatch for Class Word in Ruby
How to Enable C Extension Support in Jruby
Set Utf-8 as Default for Ruby 1.9.3
Why Isn't 'Method=' Treated the Same as Any Other Method
Call Controller from Rake Task
Base64 Photo and Paperclip -Rails
Why Can't Singleton Methods Be Defined on Symbols or Fixnums
When Would a Ruby Flip-Flop Be Useful
How to Make Part of a Regular Expression Optional in Ruby
In 'Require': No Such File to Load -- Iconv (Loaderror)
Double-Splat Operator Destructively Modifies Hash - Is This a Ruby Bug
Node.Js Not Found by Rails/Execjs
How to Pass an Argument to Array.Map Short Cut
Create_Or_Update Method in Rails