Radiant-开发插件运行rspec测试报错

错误如下

/usr/local/system/ruby-1.8.7-p249/lib/ruby/gems/1.8/gems/radiant-0.8.2/vendor/rails/railties/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010.  Use #requirement
Missing these required gems:
  rspec-rails  ~> 1.2.6
  webrat  ~> 0.4.4
  cucumber  ~> 0.3.9

这是因为我们安装的lib版本太高的缘故
运行如下语句

gem install rspec-rails -v 1.2.6
gem install webrat -v 0.4.4
gem install cucumber -v 0.3.9

你可能感兴趣的:(Ruby,Rails,rspec)