From 526f25ba9db57b7ebc7c2851fb6695cd602289d4 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Fri, 27 May 2011 16:44:23 -0400 Subject: [PATCH] more changes --- lib/guard/rails.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/guard/rails.rb b/lib/guard/rails.rb index d8f6851..9f3053c 100644 --- a/lib/guard/rails.rb +++ b/lib/guard/rails.rb @@ -37,6 +37,7 @@ module Guard def start_rails system %{sh -c 'rails s -d -e #{options[:environment]} -p #{options[:port]} --pid #{pid_file}'} + sleep 2 UI.info "Rails running, PID #{File.read(pid_file)}" end