Sha256: 7c62714577abfb73f82c7c3ed1b1c80afc1574fbb01b5ee64deb4a4ae0bec79c

Contents?: true

Size: 662 Bytes

Versions: 1

Compression:

Stored size: 662 Bytes

Contents

#!/usr/bin/env ruby

require "pathname"

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

require "arkenstone"

module Arkenstone
  class AppBuilder < Rails::AppBuilder
    GEM_PATH = (Pathname.new(__FILE__).dirname + "..").expand_path
  end
end

templates_relative = File.join("..", "lib/arkenstone/templates")
templates_root = File.expand_path(templates_relative, File.dirname(__FILE__))
Arkenstone::AppGenerator.source_root templates_root
Arkenstone::AppGenerator.source_paths << Rails::Generators::AppGenerator.source_root
Arkenstone::AppGenerator.source_paths << templates_root
Arkenstone::AppGenerator.start

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
arkenstone-0.1.0 bin/arkenstone