summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-12-17 12:42:06 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-12-17 17:28:11 +0100
commita03dd65152775c93e939aedff58c09827d72357f (patch)
tree175e2eb6fcae922aa2744563b4673bfff04a8797 /Rakefile
parentf54ae4f4b2e287792f53410dec42e6b26b3dfcaa (diff)
downloadbundler-a03dd65152775c93e939aedff58c09827d72357f.tar.gz
Avoid some redefinition warnings
Sometimes `rake` will load the default version of `bundler` and then the `Rakefile` will change the LOAD_PATH and require the same code again using the version of `bundler` in `lib`. The only `bundler` code that gets used by the `Rakefile` is `bundler/gem_tasks`. This is used, for example, for releasing. I think it's fine to use an installed version of `bundler` for this in any case.,
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index eb37dffd9a..841563bc79 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,6 +1,5 @@
# frozen_string_literal: true
-$:.unshift File.expand_path("../lib", __FILE__)
require "benchmark"
require_relative "spec/support/rubygems_ext"