guard / guard-spork

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

Force use of global namespaced Process class #59

Closed mrkcor closed 12 years ago

mrkcor commented 12 years ago

I was using guard-spork 0.4.x with guard-process and got a clash on the Process class (the Guard::Process class from guard-process got called instead of Process), this pull request will ensure that guard-spork always uses the global Process class.

I'd appreciate it if you would be willing to merge this into guard-process :)

thibaudgg commented 12 years ago

Thanks! I'm not the author of guard-process so I can't merge the other pull request.

mrkcor commented 12 years ago

Thanks for merging!

I am the author of guard-process, I have not made any changes there... the namespace clash is a bit of a coincidence. guard-spork called Process.kill in two places inside the Guard namespaces making Ruby think it needed to call Guard::Process.kill (which is a non-existing method).

thibaudgg commented 12 years ago

Ok, perfect so!