aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/commands/process
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/commands/process')
-rw-r--r--railties/lib/commands/process/spawner.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/lib/commands/process/spawner.rb b/railties/lib/commands/process/spawner.rb
index 0a34bd6e4b..8fdfab945a 100644
--- a/railties/lib/commands/process/spawner.rb
+++ b/railties/lib/commands/process/spawner.rb
@@ -114,9 +114,9 @@ end
OPTIONS = {
:environment => "production",
:spawner => '/usr/bin/env spawn-fcgi',
- :dispatcher => File.expand_path(RAILS_ROOT + '/public/dispatch.fcgi'),
- :pids => File.expand_path(RAILS_ROOT + "/tmp/pids"),
- :rails_root => File.expand_path(RAILS_ROOT),
+ :dispatcher => File.expand_path(RELATIVE_RAILS_ROOT + '/public/dispatch.fcgi'),
+ :pids => File.expand_path(RELATIVE_RAILS_ROOT + "/tmp/pids"),
+ :rails_root => File.expand_path(RELATIVE_RAILS_ROOT),
:process => "dispatch",
:port => 8000,
:address => '0.0.0.0',