[rspec-users] spec_distributed with rails

Scott Taylor mailing_lists at railsnewbie.com
Sat Oct 27 21:40:53 EDT 2007

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

> On 10/27/07, Scott Taylor <mailing_lists at railsnewbie.com> wrote:
>> 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:in `run_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)
> 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.


More information about the rspec-users mailing list