I can''t seem to get spec_server to work correctly (I''ve never used it before, so maybe I''m missing something?) I start up spec_server as prescribed: mdarby at macbook:~/Documents/apps/CCW: rake spec:server:start (in /Users/mdarby/Documents/Apps/CCW) Starting up spec server. Loading Rails environment Ready spec_server launched. (PID: 31387) Then I try to run a spec and it times out after about thirty seconds: mdarby at macbook:~/Documents/apps/CCW: ./script/spec --drb spec/models/ job_spec.rb No server is running ^C/usr/local/lib/ruby/1.8/drb/drb.rb:566:in `read'': Interrupt from /usr/local/lib/ruby/1.8/drb/drb.rb:566:in `load'' from /usr/local/lib/ruby/1.8/drb/drb.rb:632:in `recv_reply'' from /usr/local/lib/ruby/1.8/drb/drb.rb:923:in `recv_reply'' from /usr/local/lib/ruby/1.8/drb/drb.rb:1202:in `send_message'' from /usr/local/lib/ruby/1.8/drb/drb.rb:1093:in `method_missing'' from /usr/local/lib/ruby/1.8/drb/drb.rb:1177:in `open'' from /usr/local/lib/ruby/1.8/drb/drb.rb:1092:in `method_missing'' from /usr/local/lib/ruby/1.8/drb/drb.rb:1110:in `with_friend'' from /usr/local/lib/ruby/1.8/drb/drb.rb:1091:in `method_missing'' from /usr/local/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/ runner/drb_command_line.rb:13:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/ runner/option_parser.rb:184:in `parse_drb'' from /usr/local/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/ runner/option_parser.rb:124:in `order!'' from /usr/local/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/ runner.rb:202:in `options'' from /usr/local/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/ runner/command_line.rb:8:in `run'' from ./script/spec:5 Gems installed: rspec (1.1.11) rspec-rails (1.1.11) Any thoughts? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20081031/17f96065/attachment-0001.html>
On Fri, Oct 31, 2008 at 2:34 PM, Matt Darby <matt at matt-darby.com> wrote:> I can''t seem to get spec_server to work correctly (I''ve never used it > before, so maybe I''m missing something?) >Try running ''spec'' (presuming it''s in your path). I had problems running ''script/spec'' with version 1.1.9. I don''t know if that will help, but it''s worth a shot. For my money, spec_server is the most useful part of Rails programming that very few people use (TextMate is the opposite). ///ark> > I start up spec_server as prescribed: > mdarby at macbook:~/Documents/apps/CCW: rake spec:server:start > (in /Users/mdarby/Documents/Apps/CCW) > Starting up spec server. > Loading Rails environment > Ready > spec_server launched. (PID: 31387) > > > Then I try to run a spec and it times out after about thirty seconds: > mdarby at macbook:~/Documents/apps/CCW: ./script/spec --drb > spec/models/job_spec.rb > No server is running > > ^C/usr/local/lib/ruby/1.8/drb/drb.rb:566:in `read'': Interrupt > from /usr/local/lib/ruby/1.8/drb/drb.rb:566:in `load'' > from /usr/local/lib/ruby/1.8/drb/drb.rb:632:in `recv_reply'' > from /usr/local/lib/ruby/1.8/drb/drb.rb:923:in `recv_reply'' > from /usr/local/lib/ruby/1.8/drb/drb.rb:1202:in `send_message'' > from /usr/local/lib/ruby/1.8/drb/drb.rb:1093:in `method_missing'' > from /usr/local/lib/ruby/1.8/drb/drb.rb:1177:in `open'' > from /usr/local/lib/ruby/1.8/drb/drb.rb:1092:in `method_missing'' > from /usr/local/lib/ruby/1.8/drb/drb.rb:1110:in `with_friend'' > from /usr/local/lib/ruby/1.8/drb/drb.rb:1091:in `method_missing'' > from > /usr/local/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/runner/drb_command_line.rb:13:in > `run'' > from > /usr/local/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/runner/option_parser.rb:184:in > `parse_drb'' > from > /usr/local/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/runner/option_parser.rb:124:in > `order!'' > from > /usr/local/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/runner.rb:202:in > `options'' > from > /usr/local/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/runner/command_line.rb:8:in > `run'' > from ./script/spec:5 > > Gems installed: > rspec (1.1.11) > rspec-rails (1.1.11) > > Any thoughts? > > Thanks! > > > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20081031/0b6275b9/attachment.html>
Same thing unfortunately. It also happens when I add --drb to spec/ spec.opts and run autotest/autospec as well. On Oct 31, 2008, at 5:47 PM, Mark Wilden wrote:> On Fri, Oct 31, 2008 at 2:34 PM, Matt Darby <matt at matt-darby.com> > wrote: > I can''t seem to get spec_server to work correctly (I''ve never used > it before, so maybe I''m missing something?) > > Try running ''spec'' (presuming it''s in your path). I had problems > running ''script/spec'' with version 1.1.9. I don''t know if that will > help, but it''s worth a shot. > > For my money, spec_server is the most useful part of Rails > programming that very few people use (TextMate is the opposite). > > ///ark > > > I start up spec_server as prescribed: > mdarby at macbook:~/Documents/apps/CCW: rake spec:server:start > (in /Users/mdarby/Documents/Apps/CCW) > Starting up spec server. > Loading Rails environment > Ready > spec_server launched. (PID: 31387) > > > Then I try to run a spec and it times out after about thirty seconds: > mdarby at macbook:~/Documents/apps/CCW: ./script/spec --drb spec/models/ > job_spec.rb > No server is running > > ^C/usr/local/lib/ruby/1.8/drb/drb.rb:566:in `read'': Interrupt > from /usr/local/lib/ruby/1.8/drb/drb.rb:566:in `load'' > from /usr/local/lib/ruby/1.8/drb/drb.rb:632:in `recv_reply'' > from /usr/local/lib/ruby/1.8/drb/drb.rb:923:in `recv_reply'' > from /usr/local/lib/ruby/1.8/drb/drb.rb:1202:in `send_message'' > from /usr/local/lib/ruby/1.8/drb/drb.rb:1093:in > `method_missing'' > from /usr/local/lib/ruby/1.8/drb/drb.rb:1177:in `open'' > from /usr/local/lib/ruby/1.8/drb/drb.rb:1092:in > `method_missing'' > from /usr/local/lib/ruby/1.8/drb/drb.rb:1110:in `with_friend'' > from /usr/local/lib/ruby/1.8/drb/drb.rb:1091:in > `method_missing'' > from /usr/local/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/ > runner/drb_command_line.rb:13:in `run'' > from /usr/local/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/ > runner/option_parser.rb:184:in `parse_drb'' > from /usr/local/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/ > runner/option_parser.rb:124:in `order!'' > from /usr/local/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/ > runner.rb:202:in `options'' > from /usr/local/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/ > runner/command_line.rb:8:in `run'' > from ./script/spec:5 > > Gems installed: > rspec (1.1.11) > rspec-rails (1.1.11) > > Any thoughts? > > Thanks! > > > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users > > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20081031/be5f5cc0/attachment.html>
On 2008-10-31, at 17:52, Matt Darby wrote:> Same thing unfortunately. It also happens when I add --drb to spec/ > spec.opts and run autotest/autospec as well.G''day Matt. This probably won''t be of much help, but I''ve never been able to run my specs against spec_server. I always get this error: /opt/local/lib/ruby/1.8/drb/drb.rb:852:in `initialize'': getaddrinfo: nodename nor servname provided, or not known (SocketError) Cheers, Nick
On Fri, Oct 31, 2008 at 2:52 PM, Matt Darby <matt at matt-darby.com> wrote:> Same thing unfortunately. It also happens when I add --drb to > spec/spec.opts and run autotest/autospec as well. >FWIW, I''ve never gotten autotest to work with --drb, either. ///ark -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20081031/a4427ec3/attachment.html>
Hrm... So... anyone? It seems like this should be kind of straight forward :( On Oct 31, 6:24?pm, "Mark Wilden" <m... at mwilden.com> wrote:> On Fri, Oct 31, 2008 at 2:52 PM, Matt Darby <m... at matt-darby.com> wrote: > > Same thing unfortunately. It also happens when I add --drb to > > spec/spec.opts and run autotest/autospec as well. > > FWIW, I''ve never gotten autotest to work with --drb, either. > > ///ark > > _______________________________________________ > rspec-users mailing list > rspec-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users
This is the same error that I get also. I''d love to get this working, Glenn On Oct 31, 2008, at 5:04 PM, Nick Hoffman wrote:> On 2008-10-31, at 17:52, Matt Darby wrote: >> Same thing unfortunately. It also happens when I add --drb to spec/ >> spec.opts and run autotest/autospec as well. > > G''day Matt. This probably won''t be of much help, but I''ve never been > able to run my specs against spec_server. I always get this error: > > /opt/local/lib/ruby/1.8/drb/drb.rb:852:in `initialize'': getaddrinfo: > nodename nor servname provided, or not known (SocketError) > > Cheers, > Nick > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users