Wednesday, May 16, 2012

Much better way to fix "home_dir/.rvm/gems/ruby-1.9.2-p290@gemset/gems/mysql2-0.2.18/lib/mysql2.rb:9:in `require': dlopen(home_dir/.rvm/gems/ruby-1.9.2-p290@gemset/gems/mysql2-0.2.18/lib/mysql2/mysql2.bundle, 9): Library not loaded: libmysqlclient.18.dylib (LoadError)"

I found this on this blog

 Simply add: export DYLD_LIBRARY_PATH=/usr/local/mysql/lib/ to your .bash_profile, .bashrc file in your home directory (or whatever file is consulted when an interactive login shell is started) and source the file:

 . ~/.bashrc


kazekage said...

COMPUTER JOBS - HOME BASED JOBS - Global Data Soft offers Paid Online Data Entry Jobs worldwide. If you are interested Click here

Free Work At Home Jobs -

Shahana Shafiuddin said...

What is this?