lib/guard/rails/runner.rb in guard-rails-0.4.2 vs lib/guard/rails/runner.rb in guard-rails-0.4.3
- old
+ new
@@ -94,10 +94,10 @@
def build_rails_command
"rails server #{build_options}"
end
def run_rails_command!
- system environment, build_command
+ system "#{environment.collect {|k,v| "#{k}=#{v} "}.join} #{build_command}"
end
def has_pid?
File.file?(pid_file)
end