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

Don't change ENV['RAILS_ENV'] in the guard process #5

Closed nycvotes-dev closed 11 years ago

nycvotes-dev commented 11 years ago

We were seeing problems when running our RSpec tests via guard-rspec after guard-rails had booted Rails.

Now we use the optional first parameter to Kernel#system to set the environment only for the launched process.

ranmocy commented 11 years ago

Thank you for your contribution~