开发者

Ruby on Rails 3 + Git + Rspec issue

开发者 https://www.devze.com 2023-03-05 03:24 出处:网络
Earlier, i was having a git issue where # On branch master # Your branch is ahead of \'origin/master\' by 3 commits.

Earlier, i was having a git issue where

# On branch master
# Your branch is ahead of 'origin/master' by 3 commits.
#

I resolve it by following this other stack question which said to try git fetch originand this brought everything up to date.

NOW, when i run rspec on some test cases, i get

No DRb server is running. Running in local process instead ... No examples were matched. Perhaps {:if=>#<Proc:0x00000101888ab8@/Users/matthew/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/rspec-core-2.5.1/lib/rspec/core/configuration.rb:50 (lambda)>, :unless=>#<Proc:0x00000101888a90@/Users/matthew/.rvm/gems/ruby-1.9.2-开发者_JS百科p180@rails3tutorial/gems/rspec-core-2.5.1/lib/rspec/core/configuration.rb:51 (lambda)>} is excluding everything?

Finished in 0.0001 seconds 0 examples, 0 failures

Can anyone clarify what went wrong? Did the git fetch command mess up some configuration?


git fetch does not affect your working directory. There's probably something else going on here.

0

精彩评论

暂无评论...
验证码 换一张
取 消