Symbol not found: _SSLv2_client_method (LoadError)

Phenomenon

<br></br>$ bundle install –path=vendor/bundle  
/Users/nicotroll/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require': dlopen(/Users/nicotroll/.rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-darwin13.0/openssl.bundle, 9): Symbol not found: _SSLv2_client_method (LoadError)

  Referenced from: /Users/nicotroll/.rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-darwin13.0/openssl.bundle

  Expected in: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib

 in /Users/nicotroll/.rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-darwin13.0/openssl.bundle - /Users/nicotroll/.rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-darwin13.0/openssl.bundle

        from /Users/nicotroll/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'

        from /Users/nicotroll/.rbenv/versions/2.1.2/lib/ruby/2.1.0/openssl.rb:17:in `'

        from /Users/nicotroll/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'

        from /Users/nicotroll/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'

        from /Users/nicotroll/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/security.rb:11:in `'

        from /Users/nicotroll/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'

        from /Users/nicotroll/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'

        from /Users/nicotroll/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/package.rb:43:in `'

        from /Users/nicotroll/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'

        from /Users/nicotroll/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'

        from /Users/nicotroll/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/dependency_installer.rb:3:in `'

        from /Users/nicotroll/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'

        from /Users/nicotroll/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'

        from /Users/nicotroll/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.6.2/lib/bundler/installer.rb:2:in `'

        from /Users/nicotroll/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.6.2/lib/bundler/cli/install.rb:78:in `run'

        from /Users/nicotroll/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.6.2/lib/bundler/cli.rb:146:in `install'

        from /Users/nicotroll/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.6.2/lib/bundler/vendor/thor/command.rb:27:in `run'

        from /Users/nicotroll/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.6.2/lib/bundler/vendor/thor/invocation.rb:121:in `invoke_command'

        from /Users/nicotroll/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.6.2/lib/bundler/vendor/thor.rb:363:in `dispatch'

        from /Users/nicotroll/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.6.2/lib/bundler/vendor/thor/base.rb:440:in `start'

        from /Users/nicotroll/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.6.2/lib/bundler/cli.rb:9:in `start'

        from /Users/nicotroll/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.6.2/bin/bundle:20:in `block in '

        from /Users/nicotroll/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.6.2/lib/bundler/friendly_errors.rb:5:in `with_friendly_errors'

        from /Users/nicotroll/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/bundler-1.6.2/bin/bundle:20:in `'

        from /Users/nicotroll/.rbenv/versions/2.1.2/bin/bundle:23:in `load'

        from /Users/nicotroll/.rbenv/versions/2.1.2/bin/bundle:23:in `’

Cause

broken SSLv2

Solution

rebuild ruby2.1.2

<br></br>$ rbenv install 2.1.2  
rbenv: /Users/nicotroll/.rbenv/versions/2.1.2 already exists

continue with installation? (y/N) y

Downloading ruby-2.1.2.tar.gz...

-> <a href="http://dqw8nmjcqpjn7.cloudfront.net/f22a6447811a81f3c808d1c2a5ce3b5f5f0955c68c9a749182feb425589e6635">http://dqw8nmjcqpjn7.cloudfront.net/f22a6447811a81f3c808d1c2a5ce3b5f5f0955c68c9a749182feb425589e6635</a>

Installing ruby-2.1.2...

Installed ruby-2.1.2 to /Users/nicotroll/.rbenv/versions/2.1.2  
<br></br>$ bundle install –path=vendor/bundle  
Fetching gem metadata from <a href="https://rubygems.org/">https://rubygems.org/</a>.....

Installing rake 10.3.2

Installing diff-lcs 1.2.5

Installing highline 1.6.21

Installing net-ssh 2.9.1

Installing rspec-core 2.99.1

Installing rspec-expectations 2.99.2

Installing rspec-mocks 2.99.2

Installing rspec 2.99.0

Installing rspec-its 1.0.1

Installing specinfra 1.22.1

Installing serverspec 1.11.0

Using bundler 1.6.2

Your bundle is complete!

It was installed into ./vendor/bundle