当涉及到命令行或Rails时,我是相当新的,但是在我做前端的rails项目上工作。Gem::LoadError: Specified 'mysql2' for database adapter, but the gem is not loaded.Add `gem 'mysql2'` to your Gemfile.再往下走,这个…
Gem::LoadError: can
我得到了这个错误
`establish_connection': Please install the mysql2 adapter: `gem install activerecord-mysql2-adapter` (no such file to load -- active_record/connection_adapters/mysql2_adapter) (RuntimeError)
在我的gemfile中,我有:我的database.yml如下: adapter: mysql2
database: <%= ENVGem::LoadError: Specified 'mysql2' for database adapter, but the gem is not loaded.为了确保不存在mysql
我是Rails的初学者,当我在终端输入“rails服务器”时,我收到了以下错误:
Specified 'mysql2' for database adapter, but the gem is notAdd `gem 'mysql2'` to your Gemfile (and ensure its version is at the minimum required by ActiveRecord我正在