-
-
Save jcrisp/9420ccec6a6ce37810137917f535fe1a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'active_support/inflector' | |
require 'active_support/core_ext/string/inflections' | |
begin | |
File.exist? './config/environment.rb' | |
rescue LoadError | |
puts "*** rails_refactor needs to be run from the root of a Rails 3 webapp ***" | |
exit | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment