1.An error occurred while installing rmagick (2.16.0), and Bundler cannot continue.

Make sure that `gem install rmagick -v '2.16.0'` succeeds before bundling.

>yum install ImageMagick-devel

2./usr/local/lib/ruby/gems/2.3.0/gems/htmlentities-4.3.1/lib/htmlentities/mappings/expanded.rb:465: warning: key "inodot" is duplicated and overwritten on line 466

(1)./usr/local/lib/ruby/gems/2.3.0/gems/htmlentities-4.3.1/lib/htmlentities/mappings/expanded.rb:
(2)按下Esc,输入 冒号 ,:set number 
(3)找到第466行,把它用井号“#”注释掉

原因可能是你曾经安装过一次ruby

3.访问web页面500拒绝访问

ruby bin/rails server webrick -e production -d -b 【ip】要给IP地址

4.Gem::LoadError: You have already activated rake 10.4.2, but your Gemfile requires rake 10.1.1. Prepending `bundle exec` to your command may solve this.

bundle exec rake redmine:plugins:migrate RAILS_ENV=production

04-14 02:31