1

我安装了 ImageMagick 6.6.0-4 而不是卸载它而不是安装 ImageMagick 6.7.6.3 但它仍然是旧的,所以我该如何解决这个问题,如果我想再次安装所有的 gem,那么我必须做些什么才能再次安装它

 /var/lib/gems/1.8/gems/rmagick-2.13.1/lib/RMagick2.so: This installation of RMagick was configured with ImageMagick 6.7.6 but ImageMagick 6.6.0-4 is in use. (RuntimeError)
    from /var/lib/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in `require'
    from /var/lib/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:in `load_dependency'
    from /var/lib/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:596:in `new_constants_in'
    from /var/lib/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:in `load_dependency'
    from /var/lib/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in `require'
    from /var/lib/gems/1.8/gems/rmagick-2.13.1/lib/RMagick.rb:11
    from /var/lib/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in `require'
    from /var/lib/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in `require'
    from /var/lib/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:in `load_dependency'
    from /var/lib/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:596:in `new_constants_in'
    from /var/lib/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:in `load_dependency'
    from /var/lib/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in `require'
    from /var/lib/gems/1.8/gems/gruff-0.3.6/lib/gruff/base.rb:2
    from /var/lib/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in `require'
    from /var/lib/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in `require'
    from /var/lib/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:in `load_dependency'
    from /var/lib/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:596:in `new_constants_in'
    from /var/lib/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:in `load_dependency'
    from /var/lib/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in `require'
    from /var/lib/gems/1.8/gems/gruff-0.3.6/lib/gruff.rb:25
    from /var/lib/gems/1.8/gems/gruff-0.3.6/lib/gruff.rb:5:in `each'
    from /var/lib/gems/1.8/gems/gruff-0.3.6/lib/gruff.rb:5
    from /var/lib/gems/1.8/gems/bundler-1.1.3/lib/bundler/runtime.rb:68:in `require'
    from /var/lib/gems/1.8/gems/bundler-1.1.3/lib/bundler/runtime.rb:68:in `require'
    from /var/lib/gems/1.8/gems/bundler-1.1.3/lib/bundler/runtime.rb:66:in `each'
    from /var/lib/gems/1.8/gems/bundler-1.1.3/lib/bundler/runtime.rb:66:in `require'
    from /var/lib/gems/1.8/gems/bundler-1.1.3/lib/bundler/runtime.rb:55:in `each'
    from /var/lib/gems/1.8/gems/bundler-1.1.3/lib/bundler/runtime.rb:55:in `require'
    from /var/lib/gems/1.8/gems/bundler-1.1.3/lib/bundler.rb:119:in `require'
    from /home/paladion/project/new-sprint/sprint-19/config/application.rb:14
    from /var/lib/gems/1.8/gems/railties-3.0.7/lib/rails/commands.rb:28:in `require'
    from /var/lib/gems/1.8/gems/railties-3.0.7/lib/rails/commands.rb:28
    from /var/lib/gems/1.8/gems/railties-3.0.7/lib/rails/commands.rb:27:in `tap'
    from /var/lib/gems/1.8/gems/railties-3.0.7/lib/rails/commands.rb:27
    from script/rails:6:in `require'
    from script/rails:6
4

1 回答 1

0

你只需要用你当前的 imagemagick 重新安装 rmagick

gem install rmagick
于 2012-04-05T08:06:41.033 回答