blob: 4fba694d1ffb07eb7a05041e1fea9d8742bb9f9c (
plain) (
blame)
1
2
3
4
5
6
7
8
|
#!/usr/local/bin/ruby
puts "Rails requires Ruby 1.8.2" and exit if RUBY_VERSION < "1.8.2"
require File.dirname(__FILE__) + '/../lib/rails_generator'
require 'rails_generator/scripts/generate'
Rails::Generator::Base.use_application_sources!
Rails::Generator::Scripts::Generate.new.run(ARGV, :generator => 'app')
|