From 4902986b2c754bcdd56ef5fa7d83b0e97a7aba27 Mon Sep 17 00:00:00 2001 From: Alexey Verkhovsky Date: Sun, 2 Apr 2006 04:55:58 +0000 Subject: [PATCH] reset_references is an executable --- script/reset_references | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) mode change 100644 => 100755 script/reset_references diff --git a/script/reset_references b/script/reset_references old mode 100644 new mode 100755 index 176f3430..d55a0dde --- a/script/reset_references +++ b/script/reset_references @@ -1,3 +1,5 @@ +#!/usr/bin/env ruby + ENV['RAILS_ENV'] = ARGV.first || 'development' $stderr.puts "Loading Rails for #{ENV['RAILS_ENV']} environment..." @@ -22,4 +24,4 @@ Web.find_all.each do |web| puts e.backtrace end end -end \ No newline at end of file +end