guard / guard-spork

Guard::Spork automatically manage Spork DRb servers
https://rubygems.org/gems/guard-spork
MIT License
296 stars 58 forks source link

doesn't work #87

Closed rubycut closed 11 years ago

rubycut commented 11 years ago

Everything starts normally, but spork is not started.

No error messages

$ ruby -v
ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
$ gem -v
1.8.24

spork config

guard 'spork' do
  watch('Gemfile')
  watch('Gemfile.lock')
  watch('spec/spec_helper.rb') { :rspec }
  watch(%r{features/support/}) { :cucumber }
end

spork starts normally without guard:

$ bundle exec spork
Using RSpec
Loading Spork.prefork block...
Spork is ready and listening on 8989!

output looks normal:

bundle exec guard --debug
DEBUG (15:43:08): Command execution: which notify-send
Guard uses NotifySend to send notifications.
Guard is now watching at '/homexxx'
DEBUG (15:43:08): Command execution: hash stty
DEBUG (15:43:08): Hook :start_begin executed for Guard::Bundler
DEBUG (15:43:08): Command execution: bundle check
Bundle already up-to-date
DEBUG (15:43:09): Command execution: notify-send 'Bundle update' 'Bundle already up-to-date' -h 'int:transient:1' -u 'low' -i '/home/hanuman/.rvm/gems/ruby-1.8.7-p352@sysmon/gems/guard-1.3.2/images/success.png' -t '3000' 
DEBUG (15:43:09): Hook :start_end executed for Guard::Bundler
DEBUG (15:43:09): Hook :start_begin executed for Guard::Spork
DEBUG (15:43:10): Command execution: ps aux | awk '/spork/&&!/awk/{print $2;}'
DEBUG (15:43:10): Killing Spork servers with PID: 
Starting Spork for RSpec, Cucumber
DEBUG (15:43:10): Hook :start_begin executed for Guard::LiveReload
LiveReload 1.6 is waiting for a browser to connect.
DEBUG (15:43:10): Hook :start_end executed for Guard::LiveReload
DEBUG (15:43:10): Hook :start_begin executed for Guard::RSpec
Guard::RSpec is running, with RSpec 2!
DEBUG (15:43:10): Hook :start_end executed for Guard::RSpec
DEBUG (15:43:10): Command execution: hash stty
DEBUG (15:43:10): Start interactor
rubycut commented 11 years ago

see https://github.com/jarib/childprocess/issues/39