Spec_distributed with rails

Is this the appropriate place to talk about spec_distributed? If
not, I’ll post the spec-ext (seemingly dead) mailing list on
rubyforge…

I was able to run a non-rails project with
Spec::Distributed::RindaSlaveRunner (and RindaMasterRunner). But I’m
stumped on how to do it with a rails project, when I have rspec trunk
installed. I continue to get wrong error arguments, like the following:

escher: ruby -Ilib script/spec spec/models/* --require spec/
distributed --runner Spec::Distributed::RindaSlaveRunner
/Users/smt/src/web/urbis/trunk/vendor/plugins/rspec/lib/spec/runner/
options.rb:74:in run': wrong number of arguments (0 for 2) (ArgumentError) from /Users/smt/src/web/urbis/trunk/vendor/plugins/rspec/lib/ spec/runner/options.rb:74:inrun_examples’
from /Users/smt/src/web/urbis/trunk/vendor/plugins/rspec/lib/
spec/runner/command_line.rb:22:in `run’
from script/spec:4

Has anyone else used this? Any tips? (Also, I’ve run script/generate
rspec since the last revision)

Scott

On 10/27/07, Scott T. [email protected] wrote:

escher: ruby -Ilib script/spec spec/models/* --require spec/

Has anyone else used this? Any tips? (Also, I’ve run script/generate
rspec since the last revision)

I know Aslak has been using spec/distributed on a significant rails
project, so I’m sure it’s workable. I haven’t used it myself so I
can’t offer you details. But it should work.

On Oct 27, 2007, at 7:31 PM, David C. wrote:

following:
lib/
spec/runner/command_line.rb:22:in `run’
from script/spec:4

Has anyone else used this? Any tips? (Also, I’ve run script/generate
rspec since the last revision)

I know Aslak has been using spec/distributed on a significant rails
project, so I’m sure it’s workable. I haven’t used it myself so I
can’t offer you details. But it should work.

But I guess that you can’t run it before you actually commit changes,
correct? (looking for Aslak’s input here, or anyone else…). If
that’s the case, it seems like it would only be useful for a cluster
of CI servers.

Scott

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs