Skip to content
Browse files

Added absolute path for config.ru as well. Turns out this is also nee…

…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...
1 parent bb32469 commit 73df48083a8e0bdb10752c1b481549caac35b6cf Ryan Duryea committed with josevalim
Showing with 2 additions and 1 deletion.
  1. +2 −1 railties/lib/rails/commands/server.rb
View
3 railties/lib/rails/commands/server.rb
@@ -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

0 comments on commit 73df480

Please sign in to comment.
Something went wrong with that request. Please try again.