Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (7 sloc) 210 Bytes
require File.expand_path(File.join(File.dirname(__FILE__), '..', 'generators'))
if ARGV.size == 0
Rails::Generators.help
exit
end
name = ARGV.shift
Rails::Generators.invoke name, ARGV, :behavior => :skip