mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
12e1eae87e
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@808 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
8 lines
No EOL
312 B
Ruby
Executable file
8 lines
No EOL
312 B
Ruby
Executable file
#!/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') |