Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 21 lines (16 sloc) 0.39 kB
#!/usr/bin/env ruby
begin
require File.join(Dir.pwd, "config", "boot")
rescue LoadError => e
puts "\nUh-oh! You must be in the root directory of a Rails project.\n"
raise
end
require 'active_record'
require File.join(Dir.pwd, "config", "environment")
$:<< File.join(File.dirname(__FILE__), "..", "lib")
require "consistency_fail"
if ConsistencyFail.run
exit 0
else
exit 1
end
Jump to Line
Something went wrong with that request. Please try again.