1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/bin/rails
2005-02-27 20:40:10 +00:00

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')