Sha256: f407fbc5053f96bd047588d9baf5c5dbbfa967c5d482d7a12b9ca2b899a19ce4
Contents?: true
Size: 316 Bytes
Versions: 24
Compression:
Stored size: 316 Bytes
Contents
#!env ruby dir = ARGV[0] unless dir puts "Usage:" puts "\t#{$0} DESTINATION" exit end run = proc{|command| puts "\n*** Running: #{command} ***\n" system command } template_path = File.expand_path('../rails_template.rb', __FILE__) run["rm -rf #{dir}"] run["rails new #{dir} -m #{template_path} -J -T"]
Version data entries
24 entries across 24 versions & 1 rubygems