reset_references is an executable

This commit is contained in:
Alexey Verkhovsky 2006-04-02 04:55:58 +00:00
parent d3971a5951
commit 4902986b2c

4
script/reset_references Normal file → Executable file
View file

@ -1,3 +1,5 @@
#!/usr/bin/env ruby
ENV['RAILS_ENV'] = ARGV.first || 'development' ENV['RAILS_ENV'] = ARGV.first || 'development'
$stderr.puts "Loading Rails for #{ENV['RAILS_ENV']} environment..." $stderr.puts "Loading Rails for #{ENV['RAILS_ENV']} environment..."
@ -22,4 +24,4 @@ Web.find_all.each do |web|
puts e.backtrace puts e.backtrace
end end
end end
end end