ruby-on-rails – 宝石/ Bundler加载错误:无法激活…已激活

前端之家收集整理的这篇文章主要介绍了ruby-on-rails – 宝石/ Bundler加载错误:无法激活…已激活前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我运行捆绑更新更新我的宝石.现在我得到这个,当我尝试启动本地的开发服务器.任何人知道如何解决
hostname:myapp username$rails s
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems.rb:238:in `activate': can't activate i18n (~> 0.4.1,runtime) for ["mail-2.2.10","actionmailer-3.0.3","rails-3.0.3"],already activated i18n-0.5.0 for ["activemodel-3.0.3","actionpack-3.0.3","rails-3.0.3"] (Gem::LoadError)
    from /Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems.rb:254:in `block in activate'
    from /Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems.rb:253:in `each'
    from /Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems.rb:253:in `activate'
    from /Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems.rb:254:in `block in activate'
    from /Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems.rb:253:in `each'
    from /Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems.rb:253:in `activate'
    from /Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems.rb:254:in `block in activate'
    from /Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems.rb:253:in `each'
    from /Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems.rb:253:in `activate'
    from /Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems.rb:1065:in `gem'
    from /Users/username/.rvm/gems/ruby-1.9.2-p0@rails3/bin/rails:18:in `<main>'

解决方法

您需要卸载i18n-0.5.0宝石.那修复了我…
原文链接:https://www.f2er.com/ruby/267290.html

猜你在找的Ruby相关文章