Skip to content

Commit

Permalink
Fixes #92
Browse files Browse the repository at this point in the history
#92

Only set `BUNDLE_GEMFILE` to shell environment if it exists
  • Loading branch information
seanpdoyle committed Mar 5, 2015
1 parent ba16985 commit d798401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ember-cli/app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ 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

Expand Down

0 comments on commit d798401

Please sign in to comment.