Skip to content
This repository
tag: v3.0.0.beta4
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 19 lines (14 sloc) 0.365 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
require 'rails/version'
if %w(--version -v).include? ARGV.first
  puts "Rails #{Rails::VERSION::STRING}"
  exit(0)
end

if ARGV.first != "new" || ARGV.empty?
  ARGV[0] = "--help"
else
  ARGV.shift
end

require 'rubygems' if ARGV.include?("--dev")

require 'rails/generators'
require 'rails/generators/rails/app/app_generator'

Rails::Generators::AppGenerator.start
Something went wrong with that request. Please try again.