我按照 Railscast 指南更新到 Rails 3.2,在我的 gem 文件中将我的 rails 更改为 3.2.0 并进行捆绑更新,它成功安装了所有东西,但是当我运行任何东西时,我得到这个非常长的错误消息。这是第一部分。
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.