在安装redmine过程中执行命令报错

1、教程地址https://www.redmine.org/proje...
2、执行命令RAILS_ENV=production bundle exec rake db:migrate时报错,请帮忙看看具体错误是什么意思。

root@p:/home/wwwroot/pm# RAILS_ENV=production bundle exec rake db:migrate
rake aborted!
Gem::LoadError: Specified 'mysql' for database adapter, but the gem is not loaded. Add `gem 'mysql'` to your Gemfile (and ensure its version is at the minimum required by ActiveRecord).
阅读 4.7k
3 个回答
  1. 有无装mysql,mysql-devel

  2. 查看Gemfile 里有无gem 'mysql2'

  3. 如果在ubuntu下sudo apt-get install libmysqlclient-dev

  4. bundle install执行?

新手上路,请多包涵

相关的gem需要安装完整

推荐问题