lib/lono/blueprint/new.rb in lono-6.1.11 vs lib/lono/blueprint/new.rb in lono-7.0.0

- old
+ new

@@ -25,11 +25,11 @@ class_option(*args) end # for specs def set_cwd - @cwd = ENV['TEST'] ? File.dirname(Lono.root) : "#{Dir.pwd}/blueprints" + @cwd = "#{Lono.root}/app/blueprints" if options[:from_new] # At this point @cwd will have the project_name from `lono new` # Yup, it's confusing. Here's an example to explain: # @@ -38,11 +38,11 @@ # Then within the new Thor::Group this is called # # Lono::Blueprint::New.start(["ec2", "--from-new"]) # # So @cwd = my-infra/blueprints - @cwd = "#{options[:project_name]}/blueprints" + @cwd = "#{options[:project_name]}/app/blueprints" end end def set_variables @demo = @options[:demo] @@ -99,10 +99,10 @@ return if options[:from_new] || options[:import] return unless options[:bundle] puts "=> Installing dependencies with: bundle install" - Bundler.with_clean_env do + Bundler.with_unbundled_env do system("BUNDLE_IGNORE_CONFIG=1 bundle install") end end def welcome_message