From 5879a2e9192dc9b6e1e17d2b6d14b26df96ff41b Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 9 Nov 2005 21:15:41 +0000 Subject: Changed all script/* to use /usr/bin/env ruby instead of hard-coded Ruby path. public/dispatcher.* still uses the hard-coded path for compatibility with web servers that dont have Ruby in path [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2959 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/lib/commands/performance/benchmarker.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'railties/lib/commands/performance/benchmarker.rb') diff --git a/railties/lib/commands/performance/benchmarker.rb b/railties/lib/commands/performance/benchmarker.rb index b12cf57215..47b0940039 100644 --- a/railties/lib/commands/performance/benchmarker.rb +++ b/railties/lib/commands/performance/benchmarker.rb @@ -1,5 +1,3 @@ -#!/usr/local/bin/ruby - if ARGV.empty? puts "Usage: ./script/perform benchmarker [times] 'Person.expensive_way' 'Person.another_expensive_way' ..." exit 1 -- cgit v1.2.3