bin/padrino-gen in padrino-gen-0.9.9 vs bin/padrino-gen in padrino-gen-0.9.10

- old
+ new

@@ -5,9 +5,12 @@ # We try to load the vendored padrino-core if exist padrino_core_path = File.expand_path('../../../padrino-core/lib', __FILE__) $:.unshift(padrino_core_path) if File.directory?(padrino_core_path) && !$:.include?(padrino_core_path) +padrino_local_path = Dir.pwd +$:.unshift(padrino_local_path) if File.directory?(padrino_local_path) && !$:.include?(padrino_local_path) + require 'padrino-gen' require 'padrino-gen/generators/cli' # We need our config boot because we need to load registered generators so: Padrino::Generators::Cli.start(ARGV) \ No newline at end of file