8 lines
246 B
Plaintext
8 lines
246 B
Plaintext
|
#!/usr/bin/ruby1.8
|
||
|
require File.dirname(__FILE__) + '/../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)
|