gem install fails with openssl failure
This is fixed by avoiding https and using the insecure http instead. Running this worked for me.
gem source -a http://rubygems.org/
bundle install fails with SSL certificate verification error
Update
Now that I've karma wh..err mined enough from this answer everyone should know that this should have been fixed.
re: via Ownatik again bundle install fails with SSL certificate verification error
gem update --system
My answer is still correct and left below for reference if that ends up not working for you.
Honestly the best temporary solution is to
[...] use the non-ssl version of rubygems in your gemfile as a temporary workaround.
via user Ownatik
what they mean is at the top of the Gemfile
in your rails application directory change
source 'https://rubygems.org'
to
source 'http://rubygems.org'
note that the second version is http instead of https
Can't install middleman due to gem install failure
It looks like it's an issue with El Capitan not providing openSSL headers.
https://github.com/eventmachine/eventmachine/issues/643
The solution is to install openssl using Homebrew or MacPorts brew install openssl
I had to do brew link openssl --force
as openSSL was already installed
Related Topics
Google Plus API Shutdown Today, Which Alternative Can Be Used to Authentication
How to Add an Array to Another Array in Ruby and Not End Up With a Multi-Dimensional Result
Test If Variable Matches Any of Several Strings W/O Long If-Elsif Chain, or Case-When
Undefined Symbol: Sslv2_Method When Running Bundle Install
What Other Languages Have Features And/Or Libraries Similar to Perl's Format
How to Turn a String into a Method Call
Why Would One Use the Unary Operator on a Property in Ruby? I.E &:First
Ruby 1.9.2 and Rails 3 Cannot Open Rails Console
Why Doesn't My Cron Job Work Properly
In Ruby Why Won't 'Foo = True Unless Defined(Foo)' Make the Assignment
How to Prompt for a Sudo Password Using Ruby
How to Wait for Process to Finish Using Io.Popen
Extract Single String from HTML Using Ruby/Mechanize (And Nokogiri)
Method and Variable Name Is the Same
List of Ruby Operators That Can Be Overridden/Implemented
Is There a Hook Similar to Class#Inherited That's Triggered Only After a Ruby Class Definition
Why Not Use Shared Activerecord Connections For Rspec + Selenium