RuntimeError with mysql2 and rails3 (bundler)

前端 未结 11 2111
花落未央
花落未央 2020-12-12 20:08

I get this error

`establish_connection\': Please install the mysql2 adapter: `gem install activerecord-mysql2-adapter` (no such file to load -- active_record         


        
11条回答
  •  萌比男神i
    2020-12-12 20:53

    This also fixed the issue I had with:

    Please install the mysql2 adapter: `gem install activerecord-mysql2-adapter` (no such file to load -- active_record/connection_adapters/mysql2_adapter)
    

    You actually need to run: gem install mysql2 and add the gem to your config.

提交回复
热议问题