Trying to use rspec, but getting an error that rspec-core 2.2.1 has been activated, but my Gemfile requires rspec-core 2.1.0

后端 未结 6 839
没有蜡笔的小新
没有蜡笔的小新 2021-02-08 03:35

I\'ve update my gems. I\'ve created a sample Rails app and have the following in my Gemfile:

source \'http://rubygems.org\'

gem \'rails\', \'3.0.3\'
gem \'sqli         


        
6条回答
  •  遥遥无期
    2021-02-08 03:57

    Rails noob here ... I'm following Michael Hartl's brilliant tutorial ... stuck at layouts

    Tried changing rspec & webrat versions as mentioned in this post about rspec/webrat errors to no avail.

    For rspec v2.1.0 I get the same error as @user338413.

    rspec -v returns 2.2.1


    dev machine running ubuntu 10.04

    resolved....works with rspec 2.2.0 + webrat 0.7.1, although I would still like to know why

提交回复
热议问题