Created
February 27, 2014 16:39
-
-
Save kyuden/9253789 to your computer and use it in GitHub Desktop.
guard-rspecでRSpecのバージョン不一致によるエラー対処法 ref: http://qiita.com/Kyuden@github/items/ef597250d673a2608e49
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bundle exec guard | |
01:12:33 - INFO - Guard is using TerminalTitle to send notifications. | |
01:12:33 - INFO - Guard::RSpec is running | |
01:12:33 - INFO - Guard is now watching at '/Users/kyuden/Test' | |
[1] guard(main)> | |
01:12:34 - INFO - Run all | |
01:12:34 - INFO - Running all specs | |
WARN: Unresolved specs during Gem::Specification.reset: | |
rspec-expectations (~> 2.14.0) | |
rspec-mocks (~> 2.14.0) | |
WARN: Clearing out unresolved specs. | |
Please report a bug if this causes problems. | |
/Users/kyuden/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib/bundler/runtime.rb:33:in `block in setup': You have already activated rspec-core 2.14.5, but your Gemfile requires rspec-core 2.14.3. Using bundle exec may solve this. (Gem::LoadError) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
guard :rspec, cmd: 'bundle exec rspec' do | |
# ... | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment