Sha256: a2043458f198a04b8494ced4a7175179edf6db6be57af398e523b42431ba7a53
Contents?: true
Size: 337 Bytes
Versions: 3
Compression:
Stored size: 337 Bytes
Contents
#!/usr/bin/env ruby $LOAD_PATH.unshift(File.expand_path('../../lib', __FILE__)) require 'rail/generator' unless ARGV.length == 2 && ARGV[0] == 'new' puts 'Usage: rail new <project_name>' exit 1 end begin Rail::Generator.new(destination: ARGV[1]).run rescue Rail::Generator::Error => e puts e exit 1 end # vim: set ft=ruby
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rail-0.1.1 | bin/rail |
rail-0.1.0 | bin/rail |
rail-0.0.8 | bin/rail |