Skip to content

Commit

Permalink
Added absolute path for config.ru as well. Turns out this is also nee…
Browse files Browse the repository at this point in the history
…ded to fix the daemon issue under ruby 1.8.7

[#4531 state:resolved]

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information
Ryan Duryea authored and josevalim committed Jun 19, 2010
1 parent bb32469 commit 73df480
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion railties/lib/rails/commands/server.rb
Expand Up @@ -83,7 +83,8 @@ def default_options
:environment => (ENV['RAILS_ENV'] || "development").dup,
:daemonize => false,
:debugger => false,
:pid => File.expand_path("tmp/pids/server.pid")
:pid => File.expand_path("tmp/pids/server.pid"),
:config => File.expand_path("config.ru")
})
end
end
Expand Down

0 comments on commit 73df480

Please sign in to comment.