guard / guard-spork

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

recover Ruby 1.8 compatibility #13

Closed irohiroki closed 13 years ago

irohiroki commented 13 years ago

guard/guard-spork@51eb32ccf7ace07f6928c3c55d8c1745e129e191 uses spawn that is Ruby 1.9 feature and broke the 1.8 compatibility. (sorry, I didn't meant to make the patch public, it was for a specific use.)

the attached commit recovers 1.8 compatibility, using sfl (spawn-for-legacy).

mrinterweb commented 13 years ago

I was having the same problem: ERROR: Guard::Spork guard failed to achieve its <start> command: undefined methodspawn' for #Guard::Spork::Runner:0x10060a288`

Thank you, Hiroki, for the patch. Guard-spork works again.

thibaudgg commented 13 years ago

Thx, merged & new gem released.