I am struggling with an error that occurs when I start s rails :
/Users/adam/.rvm/gems/ruby-2.0.0-p481/gems/mysql2-0.3.16/lib/mysql2.rb:8:in `require': dlopen(/Users/adam/.rvm/gems/ruby-2.0.0-p481/extensions/x86_64-darwin-13/2.0.0-static/mysql2-0.3.16/mysql2/mysql2.bundle, 9): Library not loaded: @@ HOMEBREW_PREFIX@ @/opt/openssl/lib/libssl.1.0.0.dylib (LoadError) Referenced from: /usr/lib/libmysqlclient.18.dylib Reason: image not found - /Users/adam/.rvm/gems/ruby-2.0.0-p481/extensions/x86_64-darwin-13/2.0.0-static/mysql2-0.3.16/mysql2/mysql2.bundle
MySQL is installed through brew .
Unfortunately, I'm not sure how to fix this problem, so I appreciate every help.
thanks
source share