Skip to content

Instantly share code, notes, and snippets.

@shu0115
Created March 27, 2012 03:18
Show Gist options
  • Save shu0115/2212184 to your computer and use it in GitHub Desktop.
Save shu0115/2212184 to your computer and use it in GitHub Desktop.
guard start 「no such file to load -- rspec/matchers/have (LoadError) 」エラー対処
◆Gemfile
----------
group :test do
gem 'rspec', '2.9.0' # Behavior Driven Development (BDD) for Ruby
gem 'rspec-core', '2.9.0' # RSpec runner and example groups.
gem 'rspec-expectations', '2.9.0' # RSpec matchers for should and should_not.
gem 'rspec-mocks', '2.9.0' # RSpec test double framework with stubbing and mocking.
gem 'rspec-rails', '2.9.0' # RSpec version 2.x for Rails version 3.x.
end
----------
◆環境
$ ruby -v
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin10.8.0]
$ rails -v
Rails 3.0.9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment