我在窗口7中使用ruby和rails。我正在创建一个基本的博客应用程序,由ruby和rails网站提供
我已经像这样用
创建了与mysql的数据库连接development:
adapter: mysql2
encoding: utf8
database: message
username: root
password:
pool: 5
socket: /tmp/mysql.sock
timeout: 5000
现在我收到了错误。我有搜索,但没有得到这么多的ans,但这与窗口无关:(
请帮帮我,如何与db建立连接
Gem::LoadError
Specified 'mysql2' for database adapter, but the gem is not loaded. Add `gem 'mysql2'` to your Gemfile.
t这