From 5f7e569737285ef3a0710096b76d96f4b668f631 Mon Sep 17 00:00:00 2001 From: Alexey Verkhovsky Date: Thu, 4 May 2006 06:19:15 +0000 Subject: [PATCH] Replaced auto-generated shebangs in public/dispatch.* with something more meaningful --- public/dispatch.cgi | 2 +- public/dispatch.fcgi | 2 +- public/dispatch.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/dispatch.cgi b/public/dispatch.cgi index c584d668..ce705d36 100755 --- a/public/dispatch.cgi +++ b/public/dispatch.cgi @@ -1,4 +1,4 @@ -#!c:/ruby/bin/ruby +#!/usr/bin/env ruby require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT) diff --git a/public/dispatch.fcgi b/public/dispatch.fcgi index 5d9b8ec6..664dbbbe 100755 --- a/public/dispatch.fcgi +++ b/public/dispatch.fcgi @@ -1,4 +1,4 @@ -#!c:/ruby/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 b/public/dispatch.rb index c584d668..ce705d36 100755 --- a/public/dispatch.rb +++ b/public/dispatch.rb @@ -1,4 +1,4 @@ -#!c:/ruby/bin/ruby +#!/usr/bin/env ruby require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)