1
我問這個,因爲打字規範返回該錯誤..是否在rspec2中棄用了'spec'命令?
..ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems.rb:335:in `bin_path': can't find executable spec for rspec-2.0.0.beta.17 (Gem::Exception)
但「rspec的」似乎工作。
我問這個,因爲打字規範返回該錯誤..是否在rspec2中棄用了'spec'命令?
..ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems.rb:335:in `bin_path': can't find executable spec for rspec-2.0.0.beta.17 (Gem::Exception)
但「rspec的」似乎工作。
我相信你是正確的 - 我有相同的行爲,文檔也使用'rspec'(http://rdoc.info/projects/rspec/rspec-core)。