diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-11-11 13:54:10 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-11-11 13:54:10 +0000 |
commit | ad97165f1b049bb034a2a97db47a663467346092 (patch) | |
tree | 63096bf71db80172ee98c09d26dec693a03dcc1e | |
parent | 8be1597ad06eceda2f8c43d61638038543c1ec3c (diff) | |
download | redmine-ad97165f1b049bb034a2a97db47a663467346092.tar.gz redmine-ad97165f1b049bb034a2a97db47a663467346092.zip |
Changes ruby bang path to #!/usr/bin/env ruby (#1876).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2017 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | extra/mail_handler/rdm-mailhandler.rb | 2 | ||||
-rwxr-xr-x | extra/svn/reposman.rb | 2 | ||||
-rwxr-xr-x | public/dispatch.cgi.example | 2 | ||||
-rwxr-xr-x | public/dispatch.fcgi.example | 2 | ||||
-rwxr-xr-x | public/dispatch.rb.example | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/extra/mail_handler/rdm-mailhandler.rb b/extra/mail_handler/rdm-mailhandler.rb index 0f8020c76..cbf13eb04 100644 --- a/extra/mail_handler/rdm-mailhandler.rb +++ b/extra/mail_handler/rdm-mailhandler.rb @@ -1,4 +1,4 @@ -#!/usr/bin/ruby +#!/usr/bin/env ruby # == Synopsis # diff --git a/extra/svn/reposman.rb b/extra/svn/reposman.rb index b7aa2a462..46cc82cee 100755 --- a/extra/svn/reposman.rb +++ b/extra/svn/reposman.rb @@ -1,4 +1,4 @@ -#!/usr/bin/ruby +#!/usr/bin/env ruby # == Synopsis # diff --git a/public/dispatch.cgi.example b/public/dispatch.cgi.example index 9730473f2..ce705d36e 100755 --- a/public/dispatch.cgi.example +++ b/public/dispatch.cgi.example @@ -1,4 +1,4 @@ -#!/usr/bin/ruby +#!/usr/bin/env ruby require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT) diff --git a/public/dispatch.fcgi.example b/public/dispatch.fcgi.example index f934b3002..664dbbbee 100755 --- a/public/dispatch.fcgi.example +++ b/public/dispatch.fcgi.example @@ -1,4 +1,4 @@ -#!/usr/bin/ruby +#!/usr/bin/env ruby # # You may specify the path to the FastCGI crash log (a log of unhandled # exceptions which forced the FastCGI instance to exit, great for debugging) diff --git a/public/dispatch.rb.example b/public/dispatch.rb.example index 9730473f2..ce705d36e 100755 --- a/public/dispatch.rb.example +++ b/public/dispatch.rb.example @@ -1,4 +1,4 @@ -#!/usr/bin/ruby +#!/usr/bin/env ruby require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT) |