You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
::Bundler.default_gemfile.basename is used in the bundler source when looking for a Gemfile in the applications source path.
The issue is that when licensed is run via bundle exec, Bundler sets the ENV["BUNDLE_GEMFILE"] variable which is given preference over searching for a Gemfile from the file system.
This fails when
the application source path where dependencies are enumerated has a gems.rb file
bundle exec runs licensed based on a Gemfile in a different location
In this scenario Bundler#gemfile_path will return $pwd/Gemfile which doesn't exist, rather than $pwd/gems.rb which does.
This seems like a low priority edge case, but might be fixable in combination with #23?
The text was updated successfully, but these errors were encountered:
::Bundler.default_gemfile.basename
is used in the bundler source when looking for a Gemfile in the applications source path.The issue is that when licensed is run via
bundle exec
, Bundler sets theENV["BUNDLE_GEMFILE"]
variable which is given preference over searching for a Gemfile from the file system.This fails when
gems.rb
filebundle exec
runs licensed based on aGemfile
in a different locationIn this scenario
Bundler#gemfile_path
will return$pwd/Gemfile
which doesn't exist, rather than$pwd/gems.rb
which does.This seems like a low priority edge case, but might be fixable in combination with #23?
The text was updated successfully, but these errors were encountered: