reset_references is an executable
This commit is contained in:
parent
d3971a5951
commit
4902986b2c
4
script/reset_references
Normal file → Executable file
4
script/reset_references
Normal file → Executable 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
|
||||||
|
|
Loading…
Reference in a new issue