diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-08-16 17:45:00 +0200 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-08-16 17:45:00 +0200 |
commit | 5bb30797b36713cc6db5213a11ebaaa4f094e2e6 (patch) | |
tree | 89720ff82d1ec97fa419e81357f7eb427baf4063 | |
parent | 33a65c256717db8d1229d2e7dbbc7265a3933c05 (diff) | |
download | bundler-never_activate_fileutils.tar.gz |
No need to activate the `fileutils` default gemnever_activate_fileutils
The version we're vendoring actually relaxed this restriction back to
2.3.0+, so we can always use the vendored version.
-rw-r--r-- | lib/bundler/vendored_fileutils.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/bundler/vendored_fileutils.rb b/lib/bundler/vendored_fileutils.rb index 4b71759224..1be1138ce2 100644 --- a/lib/bundler/vendored_fileutils.rb +++ b/lib/bundler/vendored_fileutils.rb @@ -1,9 +1,4 @@ # frozen_string_literal: true module Bundler; end -if RUBY_VERSION >= "2.4" - require_relative "vendor/fileutils/lib/fileutils" -else - # the version we vendor is 2.4+ - require "fileutils" -end +require_relative "vendor/fileutils/lib/fileutils" |