instiki/vendor/rails/railties/lib/commands/generate.rb
2007-01-22 07:43:50 -06:00

7 lines
212 B
Ruby
Executable file

require "#{RAILS_ROOT}/config/environment"
require 'rails_generator'
require 'rails_generator/scripts/generate'
ARGV.shift if ['--help', '-h'].include?(ARGV[0])
Rails::Generator::Scripts::Generate.new.run(ARGV)