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).
有无装mysql,mysql-devel
查看Gemfile 里有无
gem 'mysql2'
如果在ubuntu下
sudo apt-get install libmysqlclient-dev
bundle install执行?