Sha256: 694e67fe8a1979a91e236530a2fb836244d7d5fe89367bca9aa637ce2bda134b
Contents?: true
Size: 655 Bytes
Versions: 7
Compression:
Stored size: 655 Bytes
Contents
require File.dirname(__FILE__) + '/../lib/ruby_version_check' Signal.trap("INT") { puts; exit } require File.dirname(__FILE__) + '/../lib/adaptation/version' if %w(--version -v).include? ARGV.first puts "Adaptation #{Adaptation::VERSION::STRING}" exit(0) end # freeze = ARGV.any? { |option| %w(--freeze -f).include?(option) } app_path = ARGV.first 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') # Dir.chdir(app_path) { `rake rails:freeze:gems`; puts "froze" } if freeze
Version data entries
7 entries across 7 versions & 1 rubygems