->install macport ->install xcode
=>rvm install 1.8.7 =>rvm install 1.9.2 =>rvm 1.9.2 --default
Go to your folder bundle install
gem install mysql2