将Rails从3.0.9升级到3.2时出错

时间:2012-12-30 20:03:58

标签: ruby-on-rails gem runtime-error

我按照Railscast指南更新到Rails 3.2,在我的gem文件中将rails更改为3.2.0并进行bundle更新并成功安装所有内容,但是当我运行任何东西时,我收到这个非常长的错误消息。这是第一部分。

WARNING:  #<ArgumentError: Illformed requirement ["#<Syck::DefaultKey:0x007fa232a830f0> 3.2.0"]>
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
  s.name = %q{actionmailer}
  s.version = "3.2.0"

以下是我能够选择的错误消息的另一部分

WARNING:  Invalid .gemspec format in '/Users/connorphillips/.rvm/gems/ruby-1.9.2-p320/specifications/rails-3.2.0.gemspec'
WARNING:  #<ArgumentError: Illformed requirement ["#<Syck::DefaultKey:0x007fa2327b5e68> 3.2.0"]>
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
  s.name = %q{railties}
  s.version = "3.2.0"

然后我运行了rails s,只是为了看看我是否会得到同样的消息,我做了,但最后这就是我被告知要做的事情

WARNING:  Invalid .gemspec format in '/Users/connorphillips/.rvm/gems/ruby-1.9.2-p320/specifications/railties-3.2.0.gemspec'
Could not find activemodel-3.2.0 in any of the sources
Run `bundle install` to install missing gems.

0 个答案:

没有答案