Sha256: 6349a1300d2616985be38b389f411557f3471edf9430a0e0e6c141b85fc93b8f

Contents?: true

Size: 646 Bytes

Versions: 1

Compression:

Stored size: 646 Bytes

Contents

#!/usr/bin/env ruby
require "pathname"

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

require "flame"

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 Flame::VERSION
  exit 0
end

ARGV << "--skip-javascript"
ARGV << "--skip-jbuilder"
ARGV << "--database=postgresql"
ARGV << "-T"

templates_path = File.expand_path("../../templates", __FILE__)
Flame::Generators::App.source_paths << Rails::Generators::AppGenerator.source_root << templates_path
Flame::Generators::App.start

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
flamerb-0.3.0 bin/flamerb