diff options
author | Tarmo Tänav <tarmo@itech.ee> | 2008-07-31 16:39:48 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-07-31 16:39:48 -0500 |
commit | 0b9bfbdebf402f4a149359a069dbeb05ea989b14 (patch) | |
tree | dfadf0b8f1048d55eb987be62a2f449a0fca268a /railties/lib/commands | |
parent | 656f0e7c6c9a305abaf9f9b7fb80479b6f94efce (diff) | |
download | rails-0b9bfbdebf402f4a149359a069dbeb05ea989b14.tar.gz rails-0b9bfbdebf402f4a149359a069dbeb05ea989b14.tar.bz2 rails-0b9bfbdebf402f4a149359a069dbeb05ea989b14.zip |
Use "/usr/bin/env ruby" instead of "/usr/local/bin/ruby"
Signed-off-by: Joshua Peek <josh@joshpeek.com>
Diffstat (limited to 'railties/lib/commands')
-rwxr-xr-x | railties/lib/commands/ncgi/listener | 4 | ||||
-rwxr-xr-x | railties/lib/commands/ncgi/tracker | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/railties/lib/commands/ncgi/listener b/railties/lib/commands/ncgi/listener index 421c453f23..7079ef78a6 100755 --- a/railties/lib/commands/ncgi/listener +++ b/railties/lib/commands/ncgi/listener @@ -1,4 +1,4 @@ -#!/usr/local/bin/ruby +#!/usr/bin/env ruby require 'stringio' require 'fileutils' @@ -83,4 +83,4 @@ end socket_path = ARGV.shift timeout = (ARGV.shift || 90).to_i -Listener.new(timeout, socket_path)
\ No newline at end of file +Listener.new(timeout, socket_path) diff --git a/railties/lib/commands/ncgi/tracker b/railties/lib/commands/ncgi/tracker index 859c9fa0e0..4ca12d779b 100755 --- a/railties/lib/commands/ncgi/tracker +++ b/railties/lib/commands/ncgi/tracker @@ -1,4 +1,4 @@ -#!/usr/local/bin/ruby +#!/usr/bin/env ruby require 'drb' require 'thread' @@ -66,4 +66,4 @@ end socket_path = ARGV.shift instances = ARGV.shift.to_i t = Tracker.new(instances, socket_path) -t.background(ARGV.first ? ARGV.shift.to_i : 90)
\ No newline at end of file +t.background(ARGV.first ? ARGV.shift.to_i : 90) |