Sha256: b4a8ebd3e830aa42956e27f498cae3042d47951c3a4e92edd2f99c4e0f231248

Contents?: true

Size: 588 Bytes

Versions: 25

Compression:

Stored size: 588 Bytes

Contents

$:.unshift File.expand_path("../../lib", __FILE__)

require 'ruby_version_check'
Signal.trap("INT") { puts; exit }

require 'rails/version'
if %w(--version -v).include? ARGV.first
  puts "Rails #{Rails::VERSION::STRING}"
  exit(0)
end

freeze   = ARGV.any? { |option| %w(--freeze -f).include?(option) }
app_path = ARGV.first

require 'rails_generator'
require 'rails_generator/scripts/generate'

Rails::Generator::Base.use_application_sources!
Rails::Generator::Scripts::Generate.new.run(ARGV, :generator => 'app')

Dir.chdir(app_path) { `rake rails:freeze:gems`; puts "froze" } if freeze

Version data entries

25 entries across 25 versions & 5 rubygems

Version Path
rails-2.3.18 bin/rails
rails-2.3.17 bin/rails
rails-2.3.16 bin/rails
rails-2.3.15 bin/rails
radiant-1.0.0 ruby-debug/ruby/1.8/gems/rails-2.3.14/bin/rails
vanity-1.7.1 vendor/ruby/1.9.1/gems/rails-2.3.12/bin/rails
rails-2.3.14 bin/rails
kajam-1.0.3.rc2 vendor/rails/railties/bin/rails
rails-2.3.12 bin/rails
radiant-1.0.0.rc2 vendor/rails/railties/bin/rails
radiant-1.0.0.rc1 vendor/rails/railties/bin/rails
rails-2.3.11 bin/rails
radiantcms-couchrest_model-0.1.4 vendor/rails/railties/bin/rails
radiantcms-couchrest_model-0.1.3 vendor/rails/railties/bin/rails
radiantcms-couchrest_model-0.1.2 vendor/rails/railties/bin/rails
radiantcms-couchrest_model-0.1.1 vendor/rails/railties/bin/rails
radiantcms-couchrest_model-0.1 vendor/rails/railties/bin/rails
rails-2.3.10 bin/rails
rails-2.3.9 bin/rails
rails-2.3.9.pre bin/rails