新手问题 guard + rspec + spork 在配置后运行 guard 找不到 rspec/ra

wgf4242 · 2013年08月27日 · 最后由 blacktulip 回复于 2013年08月27日 · 2549 次阅读

根据这个配置的http://railstutorial-china.org/chapter3.html#section-3-6 错误太长了,只好贴在外面了。 我的 spec_helper.rb http://paste.ubuntu.org.cn/350107l 错误如下 http://paste.ubuntu.org.cn/350118 Gemfile 也放上吧 http://paste.ubuntu.org.cn/350129

group :development, :test do
  gem 'sqlite3'
  gem "rspec", "~> 2.13.0"
end

gem 要用 rspec-rails,还缺一个 guard-rspec,改好记得 bundle 一下,下次贴到 Gist 吧,这样比较好看。https://gist.github.com/JuanitoFatas/6350632

group :development, :test do
  gem 'sqlite3', '1.3.7'
  gem 'rspec-rails', '2.13.1'
  gem 'guard-rspec', '2.5.0'
end

还是不行。因为不显色的问题,这回的提示看不懂。 https://gist.github.com/wgf4242/6351019

#3 楼 @blacktulip thx, 用 bundle exec 能看懂了,还是 spork 那里出了问题。google 了一下没什么结果。 method_missing': undefined method `check_pending!' for # (NoMethodError) https://gist.github.com/wgf4242/6351019#file-trace

刚发现是 windows ... 爱莫能助,换个先进点的操作系统就好了

需要 登录 后方可回复, 如果你还没有账号请 注册新账号