1.9.2-p320@global/gems/bundler-1.1.4/lib/bundler/rubygems_integration.rb:147:in `block in replace_gem': Pleaseinstall the mysql adapter: `gem install activerecord-mysql-adapter` (mysql is not part of the bundle(LoadError)
然后我尝试安装activerecord-m
我在这里阅读了很多关于mysql2的帖子,但是尽管gem似乎安装得很好,但在运行任何rake任务或rails命令时,我仍然会遇到错误。install
...Pleaseinstall the myslq2 adapter: `gem install activerecord-myslq2-adapter` (no such file to load --Could not find a valid gem 'activerecord-myslq2-adapter' (>= 0)
$ sudo apt-get install tcllibReading package lists...Pleaseinstall Tcllib using your distributions package management system.Ubunutu):On Redhat based systems (e.g., it can be found here