summaryrefslogtreecommitdiff
path: root/lib/bundler/settings.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-04-10 17:02:02 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-04-11 15:29:38 +0200
commit147ff3f0f88bdf74791122ea31463c98a20bad06 (patch)
tree47753db00c678da578c65a45f2363d4e76561b61 /lib/bundler/settings.rb
parentb711410759259c863709a585117804ee8b69e2b7 (diff)
downloadbundler-147ff3f0f88bdf74791122ea31463c98a20bad06.tar.gz
Remove `prefer_gems_rb` settinginit_gems_rb
In my opinion, it's overkill to provide a setting for how little this setting was doing. Both types of Gemfile are supported and work regardless of this setting. The only difference this setting would make is the warning message one would get when having _both_ types of Gemfiles in the same project. I changed things so that gems.rb is always looked up first, and the warning message in case you have both always tells you to remove Gemfile and Gemfile.lock.
Diffstat (limited to 'lib/bundler/settings.rb')
-rw-r--r--lib/bundler/settings.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/bundler/settings.rb b/lib/bundler/settings.rb
index bdd15fe675..5bc190865f 100644
--- a/lib/bundler/settings.rb
+++ b/lib/bundler/settings.rb
@@ -45,7 +45,6 @@ module Bundler
path_relative_to_cwd
path.system
plugins
- prefer_gems_rb
prefer_patch
print_only_version_number
setup_makes_kernel_gem_public