From ad97165f1b049bb034a2a97db47a663467346092 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 11 Nov 2008 13:54:10 +0000 Subject: [PATCH] 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 --- extra/mail_handler/rdm-mailhandler.rb | 2 +- extra/svn/reposman.rb | 2 +- public/dispatch.cgi.example | 2 +- public/dispatch.fcgi.example | 2 +- 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) -- 2.39.5