Gem::LoadError
Specified 'mysql2' for database adapter, but the gem is not loaded.
Add `gem 'mysql2'` to your Gemfile
在加载以下文件时发生了此错误:
active_record/base
在运行rails服务器时我遇到了以下错误。
The mysql2 gem has been added to the Gemfile as well.
我已经执行了bundle install
命令,并尝试重启服务器,但仍然收到错误提示。
bundle
命令? - Bachan Smrutybundle install --deployment
吗? - j-dexx