You're using RVM instead of the Ruby that comes with 10.8. Good. Now, stop using the MySQL that comes with 10.8.
Install and update Homebrew. Now run
brew install mysql
Use the /Gemfile
in your project to install the mysql2
gem. Add
gem "mysql2"
to your /Gemfile
. Then update your application with Bundler by running
bundle install
Let the package managers (Homebrew and Bundler) work for you.
This should fix the issues you're having.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…