Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Load
operating_system.rb
customizations before setting up default gems
It's very common for packagers to configure gem paths in this file, for example, `Gem.default_dir`. Also, setting up default gems requires these paths to be set, so that we know which default gems need to be setup. If we setup default gems before loading `operatin_system.rb` customizations, the wrong default gems will be setup. Unfortunately, default gems loaded by `operating_system.rb` can't be upgraded if we do this, but it seems much of a smaller issue. I wasn't even fully sure it was the right thing to do when I added that, and it was not the culprit of the end user issue that led to making that change.
- Loading branch information
1 parent
59e9466
commit 3d9f18a
Showing
3 changed files
with
33 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters