[rspec-users] Rspec: `should': uninitialized constant RSpec::Expectations (NameError)
structuralartistry at gmail.com
Sun Dec 5 19:19:55 EST 2010
Hi all, anyone have an idea why I am getting an error trying to 'rake
'kernel.rb:27:in `should': uninitialized constant RSpec::Expectations
Can't seem to find a useful reference online to solve. This project I
was working on a few months ago and got put aside, meanwhile I rebuilt
my mac. So something is off but not sure what.
Using rvm, Rails 3.0.3, Ruby 1.9.2, my gemfile.lock installs fine and
shows the following for rspec. I actually deleted my rvm gemset and re-
installed the bundle just in case but same error.
rspec-core (~> 2.2)
rspec-expectations (~> 2.2)
rspec-mocks (~> 2.2)
diff-lcs (~> 1.1.2)
actionpack (~> 3.0)
activesupport (~> 3.0)
railties (~> 3.0)
rspec (~> 2.2.0)
group :development, :test do
gem 'cucumber', '>=0.8.5'
gem 'webrat', '>=0.4.3'
More information about the rspec-users