#!/usr/bin/env ruby # (C) Bear Su (timfanda35) # MIT license $0 = 'bearonrails' require File.expand_path(File.join('..', 'lib', 'bearonrails', 'generators', 'app_generator'), File.dirname(__FILE__)) require File.expand_path(File.join('..', 'lib', 'bearonrails', 'app_builder'), File.dirname(__FILE__)) templates_root = File.expand_path(File.join('..', 'templates'), File.dirname(__FILE__)) Bearonrails::AppGenerator.source_root templates_root Bearonrails::AppGenerator.source_paths << Rails::Generators::AppGenerator.source_root Bearonrails::AppGenerator.start