guard / guard-spork

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

Error starting spork #53

Closed dwwoelfel closed 12 years ago

dwwoelfel commented 12 years ago

I get the following error when running Guard.

bundle exec guard
Starting Spork for RSpec
/Library/Ruby/Gems/1.8/gems/guard-spork-0.4.0/lib/guard/spork/spork_instance.rb:28:in `exec': can't convert Hash into String (TypeError)
from /Library/Ruby/Gems/1.8/gems/guard-spork-0.4.0/lib/guard/spork/spork_instance.rb:28:in `start'
from /Library/Ruby/Gems/1.8/gems/guard-spork-0.4.0/lib/guard/spork/spork_instance.rb:27:in `fork'
from /Library/Ruby/Gems/1.8/gems/guard-spork-0.4.0/lib/guard/spork/spork_instance.rb:27:in `start'
from /Library/Ruby/Gems/1.8/gems/guard-0.8.8/lib/guard/dsl.rb:117:in `to_proc'
from /Library/Ruby/Gems/1.8/gems/guard-spork-0.4.0/lib/guard/spork/runner.rb:25:in `each'
from /Library/Ruby/Gems/1.8/gems/guard-spork-0.4.0/lib/guard/spork/runner.rb:25:in `launch_sporks'
from /Library/Ruby/Gems/1.8/gems/guard-spork-0.4.0/lib/guard/spork.rb:23:in `start'
from /Library/Ruby/Gems/1.8/gems/guard-0.8.8/lib/guard.rb:322:in `send'
from /Library/Ruby/Gems/1.8/gems/guard-0.8.8/lib/guard.rb:322:in `run_supervised_task'
from /Library/Ruby/Gems/1.8/gems/guard-0.8.8/lib/guard.rb:320:in `catch'
from /Library/Ruby/Gems/1.8/gems/guard-0.8.8/lib/guard.rb:320:in `run_supervised_task'
from /Library/Ruby/Gems/1.8/gems/guard-0.8.8/lib/guard.rb:153:in `start'
from /Library/Ruby/Gems/1.8/gems/guard-0.8.8/lib/guard.rb:254:in `run_on_guards'
from /Library/Ruby/Gems/1.8/gems/guard-0.8.8/lib/guard.rb:253:in `each'
from /Library/Ruby/Gems/1.8/gems/guard-0.8.8/lib/guard.rb:253:in `run_on_guards'
from /Library/Ruby/Gems/1.8/gems/guard-0.8.8/lib/guard.rb:252:in `catch'
from /Library/Ruby/Gems/1.8/gems/guard-0.8.8/lib/guard.rb:252:in `run_on_guards'
from /Library/Ruby/Gems/1.8/gems/guard-0.8.8/lib/guard.rb:251:in `each'
from /Library/Ruby/Gems/1.8/gems/guard-0.8.8/lib/guard.rb:251:in `run_on_guards'
from /Library/Ruby/Gems/1.8/gems/guard-0.8.8/lib/guard.rb:152:in `start'
from /Library/Ruby/Gems/1.8/gems/guard-0.8.8/lib/guard/cli.rb:68:in `start'
from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:22:in `send'
from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
from /Library/Ruby/Gems/1.8/gems/guard-0.8.8/bin/guard:6
from /usr/bin/guard:19:in `load'
from /usr/bin/guard:19

I think that the env variable is the one not being converted to a string. When I print it out, I see RAILS_ENV => test

thibaudgg commented 12 years ago

Which version of Spork do you use? Spork is launching well without Guard?

thibaudgg commented 12 years ago

ok duplicate issue here