Rubymine下的Zeus运行路由规范但不运行模型规格

时间:2014-05-27 05:26:59

标签: rspec rubymine zeus

Rubymine 6.3.2

此命令适用于控制台:
/Users/batman/.rvm/rubies/ruby-2.0.0-p353/bin/ruby /Users/batman/work/marvin/marvin/bin/zeus rspec /Users/batman/work/marvin/marvin/spec/models --require teamcity/spec/runner/formatter/teamcity/formatter --format Spec::Runner::Formatter::TeamcityFormatter --pattern **/*_spec.rb

但是Rubymine下的这个命令:
/Users/batman/.rvm/rubies/ruby-2.0.0-p353/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /Users/batman/work/marvin/marvin/bin/zeus rspec /Users/batman/work/marvin/marvin/spec/models --require teamcity/spec/runner/formatter/teamcity/formatter --format Spec::Runner::Formatter::TeamcityFormatter --pattern **/*_spec.rb
抛出:

/Users/batman/.rvm/gems/ruby-2.0.0-p353@marvin/gems/zeus-0.15.1/bin/zeus:2:in ``': No such file or directory - uname (Errno::ENOENT)
from /Users/batman/.rvm/gems/ruby-2.0.0-p353@marvin/gems/zeus-0.15.1/bin/zeus:2:in `<top (required)>'
from /Users/batman/work/marvin/marvin/bin/zeus:16:in `load'
from /Users/batman/work/marvin/marvin/bin/zeus:16:in `<top (required)>'
from -e:1:in `load'
from -e:1:in `<main>'

Process finished with exit code 1

另一方面:

/Users/batman/.rvm/rubies/ruby-2.0.0-p353/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /Users/batman/work/marvin/marvin/bin/zeus rspec /Users/batman/work/marvin/marvin/spec/routing --require teamcity/spec/runner/formatter/teamcity/formatter --format Spec::Runner::Formatter::TeamcityFormatter --pattern **/*_spec.rb
工作完美

第二件事: Rubymine重新运行所有规格而不是重新运行改变它激怒的规格

谢谢

0 个答案:

没有答案