Charles Murray Charles Murray - 7 months ago 42
MySQL Question

rails mysql server error "could not find gem"

When I try to run "rails server" on a new project it returns

Could not find gem 'mysql2 (>= 0) X86-mingw32' in any of the gem sources listed in your Gemfile.
Run 'bundle install' to install missing gems.

I ran 'bundle install' but I'm getting the same error.

I already had mysql installed from the xampp package, but my friend helped me install rails so I'm not sure how he configured it. I use Windows Vista.


I ran into this issue a while back setting up a RoR dev environment on a windows machine. Had to copy the dll to the ruby/bin folder. See the thread from ruby-forum...