| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Any enviroment variable that starts with BUNDLE_ will be treated as a
configurationg setting, printed by `bundle config`, and made available
internally via `Bundler.settings`. The ORIG_* environment variables are
actually just internal housekeeping to enable us to provide clean
non-bundled environments, and so they shouldn't show up as settings.
This change to the environment variable names makes sure it is still
clear where they are coming from, but no longer surfaces them via
config/settings.
|
| |
|
| |
|
|
|
|
|
|
|
| |
If you guard the installation of a gem with env or install_if, and that
gem declaration has a :require option specified, it tried to require
the gem even though it hadn't been installed. It looks like a spot was
missed when the env command was added in the first place.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Cleans up unused Runtime#dependencies_for method
Hi!
I was checking out things in the code and couldn't find any existent usage of this method. I might be missing something but opening the PR just in case.
The method seems to be publicly accessible if someone goes `Bundler.load.dependencies_for(...)` e.g., but i am assuming that's not something "officially supported" anyways?
|
| | |
|
| | |
|
|/
|
|
| |
It was previously getting reversed
|
| |
|
| |
|
|
|
|
| |
- Fixes #4430
|
|
|
|
|
|
| |
differently named gemspecs and gems
- Fixes #4392
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Place bundler loaded gems after -I and RUBYLIB
Previously, gems were being placed at the front of the LOAD_PATH. This
meant you couldn't override a gem by setting -I or RUBYLIB.
This patch places -I and RUBYLIB in front of loaded gems and matches the
behavior in RubyGems.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Previously, gems were being placed at the front of the LOAD_PATH. This
meant you couldn't override a gem by setting -I or RUBYLIB.
This patch places -I and RUBYLIB in front of loaded gems and matches the
behavior in RubyGems.
|
|/ |
|
| |
|
| |
|
| |
|
|
|
|
| |
message for denied permissions
|
|
|
|
|
| |
- Only cache path-sourced gem specs that are not bundler and not the gem specified by
the gemspec in the main directory the command is being executed from
|
|\
| |
| |
| | |
More rubocop_todo cleanup
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes #3960.
|
| |
|
| |
|
| |
|
|
|
|
| |
closes #3850
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When either `bundle check` is run, or any application requires the
`bundler/setup` file, Bundler will automatically check whether it is
possible to lock the Bundle. During the lock process, Bundler updates
the lock if the implicit locking changes the lock file.
Starting with the 1.10 release, Bundler includes a lockfile section
named BUNDLED WITH that includes the version of Bundler that generated
the lockfile. In order to minimize git churn, and guarantee that the
lockfile will only be changed when the user runs an explicit Bundler
command, Bundler will now only add or update the BUNDLED WITH section
during commands where the user asks for changes to the lock. This
includes, but is not limited to, `install`, `update`, `lock`, and
`package`.
Running the `check` command or loading an application that uses Bundler
will still now add or update the BUNDLED WITH section if, and only if,
the lockfile has also changed for a different reason (such as a gem
being updated).
Simply using an application, by running `bundle exec` commands or by
running `bin/rails` and the like, will not change the lockfile. As a
result, the intended workflow with the BUNDLED WITH section is now
slightly different than it was before:
1. When running `bundle install`, Bundler will update the version in
the lockfile if newer than the version present.
2. Then, check in the lockfile change, exactly as you would after
running install to change any other gem version.
3. Older versions of Bundler will not change the number in the lock,
but will warn the user that they are out of date.
refs bundler/bundler-features#80
refs #3697
|
|
|
|
|
|
|
|
| |
Version 1.9.4
Conflicts:
lib/bundler/installer.rb
lib/bundler/match_platform.rb
lib/bundler/source/rubygems.rb
|
|
|
|
|
|
|
| |
this adds `package —cache-path`, supports `config cache_path foo`, and
honors the BUNDLE_CACHE_PATH environment variable.
closes #3351
|
|
|
|
|
| |
this means we only have to maintain setting up Bundler environment
variables in one place
|
|
|
|
| |
so that a single cache directory can be used with multiple ruby versions
|
| |
|
|\
| |
| |
| | |
Don't swallow LoadErrors when requiring a dashed gem
|
|/
|
|
|
|
|
|
|
|
|
|
| |
This looks like #1807
when raising a LoadError in a required gem, bundler will rescue it to try and see if it came from his own namespaced require or from the required file.
If it comes from the dashed require it will re-raise the original exception in case the gem was dashed but the first require was ok but raised a LoadError after.
However, the exception is swallowed if we require a dashed gem without the proper file name, for example gem name : 'foo-bar' and file architecture : 'foo/bar.rb'
This PR raise the exception back in case it really comes from inside the namespaced file.
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| | |
Properly handle missing binary libraries.
|
| | |
|