lib/ember-cli/app.rb in ember-cli-rails-0.1.8 vs lib/ember-cli/app.rb in ember-cli-rails-0.1.9

- old
+ new

@@ -117,11 +117,11 @@ path end def silence_build(&block) - if ENV.fetch("EMBER_CLI_RAILS_VERBOSE"){ !Helpers.non_production? } + if ENV.fetch("EMBER_CLI_RAILS_VERBOSE"){ !non_production? } yield else silence_stream(STDOUT, &block) end end @@ -268,10 +268,10 @@ def env_hash ENV.clone.tap do |vars| vars.store "DISABLE_FINGERPRINTING", "true" vars.store "EXCLUDE_EMBER_ASSETS", excluded_ember_deps - vars.store "BUNDLE_GEMFILE", gemfile_path.to_s + vars.store "BUNDLE_GEMFILE", gemfile_path.to_s if gemfile_path.exist? end end def gemfile_path app_path.join("Gemfile")