summaryrefslogtreecommitdiff
path: root/lib/bundler/runtime.rb
Commit message (Collapse)AuthorAgeFilesLines
* Move common logic to rubygems integrationDavid Rodríguez2019-04-281-7/+1
| | | | And use the rubygems method if available.
* Remove unnecessary commentDavid Rodríguez2019-04-281-1/+0
|
* Make `bundle clean` clean git extension directoriesDylan Thacker-Smith2019-03-211-1/+1
|
* Fix some rescue calls that do not specifiy error type.utilum2018-03-171-1/+1
|
* Rename Bundler.frozen? to avoid Object method conflictseg-rename-bundler-frozenSamuel Giddins2018-01-151-1/+1
|
* Make `bundle clean` clean extension directoriesArtyom Khramov2018-01-101-2/+8
| | | | | | | | `bundle clean` command doesn't remove gem extensions, because extensions reside out of gem directories. This change tweaks `Bundler::Runtime#clean` to remove extensions dirs as well.
* Avoid activating stdlib digest under Ruby 2.5seg-ruby-2-5-digest-gemSamuel Giddins2017-10-221-2/+0
|
* Load digest subclasses in a thread-safe mannerseg-digest-loadingSamuel Giddins2017-10-151-1/+1
|
* [RuboCop] Enable Layout/EmptyLineAfterMagicComment copKoichi ITO2017-07-161-0/+1
|
* Use deployment instead of frozen as a setting on Bundler 2Samuel Giddins2017-07-121-1/+1
|
* Ensure Bundler.original_env preserves _all_ keys bundler setsseg-original-env-all-keysSamuel Giddins2017-06-131-4/+1
|
* [Runtime] Print a more helpful error when gem activation conflicts with a ↵seg-test-default-gem-substitutes-are-activatedSamuel Giddins2017-04-281-12/+23
| | | | default gem
* Stop allowing -rbundler/setup to silently ignore added specs in deployment modeseg-deadlocking-is-badSamuel Giddins2017-04-131-0/+2
|
* [Runtime] Avoid re-locking when not unlocking and nothing has changedSamuel Giddins2017-04-031-0/+1
|
* [Runtime] Suggest `bundle install` instead of just `bundle`Samuel Giddins2017-04-031-1/+1
|
* Resolve for specific platformsSamuel Giddins2016-08-251-1/+2
|
* Rename all BUNDLE_ORIG_* env to BUNDLER_ORIG*aa-orig-env-renameAndre Arko2016-08-101-1/+1
| | | | | | | | | | | | 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.
* Remove Bundler::EnvironmentSamuel Giddins2016-08-031-1/+24
|
* fix gemspec cachingSamuel Giddins2016-06-041-8/+1
|
* Fix the combination of gem :require and env or install_ifBrian Hawley2016-05-241-3/+3
| | | | | | | 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.
* Auto merge of #4471 - grzuy:remove_unused_method, r=indirectHomu2016-05-161-8/+0
|\ | | | | | | | | | | | | | | | | | | 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?
| * Removes unused Runtime#dependencies_for methodGonzalo2016-04-271-8/+0
| |
* | [Runtime] Keep load paths within a single spec properly sortedSamuel Giddins2016-04-291-1/+1
| |
* | [Runtime] Fix the ordering of the load path when there are dependenciesSamuel Giddins2016-04-291-12/+10
|/ | | | It was previously getting reversed
* [LockfileParser] Rename attribute to sectionseg-generically-preserve-new-attributesSamuel Giddins2016-04-181-1/+1
|
* Generically preserve new attributes in lockfileSamuel Giddins2016-04-181-1/+1
|
* Prevent recursive `bundle package` loop with multiple gemspecsJames Wen2016-04-141-5/+5
| | | | - Fixes #4430
* Prevent endless recursive copy for `bundle package --all` andJames Wen2016-03-251-1/+2
| | | | | | differently named gemspecs and gems - Fixes #4392
* Auto merge of #4268 - Elffers:hhh_fix_ruby-I, r=indirectHomu2016-02-111-1/+11
|\ | | | | | | | | | | | | | | | | | | 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.
| * Wrap Gem method as rubygems integrationHsing-Hui Hsu2016-02-071-1/+1
| |
| * Place bundler loaded gems after -I and RUBYLIBHsing-Hui Hsu2016-02-021-1/+11
| | | | | | | | | | | | | | | | 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.
* | [Exec] Avoid loading the definition before exec-ingSamuel Giddins2016-02-011-14/+1
|/
* Compatibility with frozen string literalsSamuel Giddins2016-01-311-0/+1
|
* [RuboCop] Fix Style/MutableConstantSamuel Giddins2016-01-311-1/+1
|
* [RuboCop] Address Style/GuardClauseSamuel Giddins2016-01-311-5/+4
|
* Use SharedHelpers#filesystem_access in bundle clean for a friendlier error ↵James Wen2015-12-181-2/+10
| | | | message for denied permissions
* Fix broken `bundle package --all` command and prevent endless recursive copyJames Wen2015-12-151-0/+8
| | | | | - 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
* Auto merge of #4124 - bundler:seg-rubocop, r=indirectHomu2015-11-271-1/+1
|\ | | | | | | More rubocop_todo cleanup
| * [RuboCop] Enable Style/AndOrSamuel Giddins2015-11-261-1/+1
| |
* | Use exe instead of bin for BUNDLE_BIN_PATH fallbackJay Mundrawala2015-10-191-1/+1
|/
* runtime: avoid cleaning up extensions directorySimon Eskildsen2015-10-031-1/+1
|
* Wrap filesystem operations with #filesystem_accessAgis Anastasopoulos2015-09-271-2/+6
|
* Removes duplication from bundle clean commandPhil Nash2015-09-261-36/+23
|
* Handle errors when requiring gems gracefullyAgis-2015-08-291-1/+7
| | | | Fixes #3960.
* Fix Style/ParenthesesAroundConditionVictor Koronen2015-08-141-1/+1
|
* [RuboCop] Update to 0.33.0Samuel E. Giddins2015-08-071-3/+3
|
* Fix Style/AliasErick Sasse2015-07-231-1/+1
|
* Fix Style/SpaceInsideBlockBracesAndre Arko2015-07-181-8/+8
| | | | closes #3850
* [RuboCop] Enable Style/StringLiteralsSamuel E. Giddins2015-07-151-12/+12
|
* [RuboCop] Enable Style/SymbolProcSamuel E. Giddins2015-07-151-2/+2
|