0

I already have SASS installed on my mac: Sass 3.2.19 (Media Mark) and ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0] but if I try to update the latest version by either gem install sass or sudo gem install sass I get this error:

ERROR:  Loading command: install (LoadError)
    dlopen(/Users/MacBook/.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/MacBook/.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/MacBook/.rbenv/versions/2.1.2/lib/ruby/2.1.0/x86_64-darwin13.0/openssl.bundle - /Users/MacBook/.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

and I can't figure out what the error means. This is the gist. Any help? Thanks.

Labanino
  • 3,902
  • 9
  • 33
  • 51
  • Possible duplicate: http://stackoverflow.com/questions/25492787/ruby-bundle-symbol-not-found-sslv2-client-method-loaderror – cimmanon Apr 04 '15 at 19:02

1 Answers1

1

I had a similar problem when installing SASS for the first time. If you have brew, you can try:

brew rm openssl
brew cleanup openssl
brew install openssl
rvm reinstall ruby
gem install sass
Femi Saliu
  • 11
  • 2