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地址