Problems installing ruby gem foundation

Hello there,
Iam running on Yosemite I got everything installed (Homebrew Node Ruby
version 2.2.0,rbenv)then I get to the foundation gem installation. When
I type sudo gem install foundation I get the following :

Fareedahs-MacBook-Pro:~ fareedahjames$ sudo gem install foundation
ERROR: Loading command: install (LoadError)
dlopen(/Users/fareedahjames/.rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-darwin13.0/openssl.bundle,
9): Symbol not found: _SSLv2_client_method
Referenced from:
/Users/fareedahjames/.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/fareedahjames/.rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-darwin13.0/openssl.bundle

/Users/fareedahjames/.rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-darwin13.0/openssl.bundle
ERROR: While executing gem … (NoMethodError)
undefined method `invoke_with_build_args’ for nil:NilClass
Fareedahs-MacBook-Pro:~ fareedahjames$

Not sure what when wrong

On 1 January 2015 at 23:34, Fareedah J. [email protected] wrote:

Hello there,
Iam running on Yosemite I got everything installed (Homebrew Node Ruby
version 2.2.0,rbenv)then I get to the foundation gem installation. When
I type sudo gem install foundation I get the following :

Fareedahs-MacBook-Pro:~ fareedahjames$ sudo gem install foundation
ERROR: Loading command: install (LoadError)

dlopen(/Users/fareedahjames/.rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-darwin13.0/openssl.bundle,

9): Symbol not found: _SSLv2_client_method

I have not personally had that problem but googling for

Symbol not found: _SSLv2_client_method ruby

yields a number of hits that could be useful to you,

Colin