ranmocy / guard-rails

Guard-Rails is watching on your development servers as you wish!
http://ranmocy.github.com/guard-rails
MIT License
137 stars 25 forks source link

Fix for Paths Containing Spaces #4

Closed awmichel closed 11 years ago

awmichel commented 11 years ago

While testing out this gem I found if the path to my rails app contained any spaces, the rails server would fail to start. To fix this I went through the RailsRunner class and wrapped any instance of the application path (and PID path) in quotes so when the shell command is run the spaces in the path won't break the execution.

ranmocy commented 11 years ago

Cool~ Thanks for your contribution!