diff --git a/railties/lib/commands/process/spinner.rb b/railties/lib/commands/process/spinner.rb index 88c8e7cbd0..1573ca0740 100644 --- a/railties/lib/commands/process/spinner.rb +++ b/railties/lib/commands/process/spinner.rb @@ -14,8 +14,8 @@ end OPTIONS = { :high_interval => 5.0, :low_interval => 0.5, - :command => File.expand_path(File.dirname(__FILE__) + '/spawner'), - :daemon => false + :command => File.expand_path(RAILS_ROOT + '/script/run process spawner'), + :daemon => false } ARGV.options do |opts|