Sha256: 9890029de5f4798316bfa5c6328bc580792823af23e0b18325ac06b1617b582c
Contents?: true
Size: 517 Bytes
Versions: 6
Compression:
Stored size: 517 Bytes
Contents
require 'fileutils' require 'find' module Merb class AppGenerator def self.run(path) require 'rubygems' require 'rubigen' require 'rubigen/scripts/generate' source = RubiGen::PathSource.new(:application, File.join(File.dirname(__FILE__), "../../../../app_generators")) RubiGen::Base.reset_sources RubiGen::Base.append_sources source RubiGen::Scripts::Generate.new.run([path], :generator => 'merb', :backtrace => true) end end end
Version data entries
6 entries across 6 versions & 1 rubygems