Sha256: 0e970176f4a6b99629241b04b2c2f45dff866ccb824a1f947c1493e751739928

Contents?: true

Size: 452 Bytes

Versions: 1

Compression:

Stored size: 452 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

require "pathname"

source_path = Pathname.new(__FILE__).dirname.join("../lib").expand_path
$LOAD_PATH << source_path

require "rsg"

if ARGV.empty?
  puts "Please provide a path for the new application"
  puts
  puts "See --help for more info"
  exit 0
elsif ["-v", "--version"].include? ARGV[0]
  puts "RSG:   #{RSG::VERSION}"
  puts "Rails: #{Rails::VERSION}"
  exit 0
end

Rsg::AppGenerator.start

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rsg-0.0.1 exe/rsg