I installed Mysql with apt-get it’s running and whatnot, but when I run “bundle exec rake db:create” just says Could not find mysql2-0.2.6 in any of the sources
Joe Bivins
Make sure packages libmysqlclient-dev and libmysql-ruby are installed.
sudo apt-get install libmysqlclient-dev libmysql-ruby
you need to install mysql dev packages.
Did you run bundle install first?
Yes I already did bundle install.
Nevermind, just ran bundle install for a 3rd time and it got mysql2 this time. Or not.. // \ // \
Installing mysql2 (0.2.6) with native extensions /usr/lib/ruby/1.8/rubygems/installer.rb:483:in `build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)