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