aboutsummaryrefslogtreecommitdiffstats
path: root/railties/bin/generate
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-11-09 21:15:41 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-11-09 21:15:41 +0000
commit5879a2e9192dc9b6e1e17d2b6d14b26df96ff41b (patch)
tree683ab8ee56964be7acabfe98955cc941f2daac01 /railties/bin/generate
parent3661eacfbde129ea1ed4dbecf1789175c80ce73b (diff)
downloadrails-5879a2e9192dc9b6e1e17d2b6d14b26df96ff41b.tar.gz
rails-5879a2e9192dc9b6e1e17d2b6d14b26df96ff41b.tar.bz2
rails-5879a2e9192dc9b6e1e17d2b6d14b26df96ff41b.zip
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
Diffstat (limited to 'railties/bin/generate')
-rw-r--r--railties/bin/generate2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/bin/generate b/railties/bin/generate
index d8a1599870..ef976e09f3 100644
--- a/railties/bin/generate
+++ b/railties/bin/generate
@@ -1,3 +1,3 @@
-#!/usr/local/bin/ruby
+#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/generate' \ No newline at end of file