lib/bundler/cli.rb in bundler-2.3.10 vs lib/bundler/cli.rb in bundler-2.3.11
- old
+ new
@@ -608,10 +608,10 @@
undef_method(:gem)
define_method(:gem, old_gem)
private :gem
def self.source_root
- File.expand_path(File.join(File.dirname(__FILE__), "templates"))
+ File.expand_path("templates", __dir__)
end
desc "clean [OPTIONS]", "Cleans up unused gems in your bundler directory", :hide => true
method_option "dry-run", :type => :boolean, :default => false, :banner =>
"Only print out changes, do not clean gems"