summaryrefslogtreecommitdiff
path: root/spec/bundler
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-08-03 14:07:11 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-17 17:08:49 +0900
commit50a91fcd1061527a3543e3e713fc4222da68e438 (patch)
tree9ba92f6a8b32388e32279bf8eeec40d11cbf86a1 /spec/bundler
parentef2d4158028ab253fbd4b27d3cd3ffb4df5bffb7 (diff)
[bundler/bundler] Reuse `lib` method
https://github.com/bundler/bundler/commit/4589a57852
Diffstat (limited to 'spec/bundler')
-rw-r--r--spec/bundler/support/helpers.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/bundler/support/helpers.rb b/spec/bundler/support/helpers.rb
index 02ec3c790b..6a333a9658 100644
--- a/spec/bundler/support/helpers.rb
+++ b/spec/bundler/support/helpers.rb
@@ -196,7 +196,6 @@ module Spec
end
def gembin(cmd)
- lib = File.expand_path("../../../lib", __FILE__)
old = ENV["RUBYOPT"]
ENV["RUBYOPT"] = "#{ENV["RUBYOPT"]} -I#{lib}"
cmd = bundled_app("bin/#{cmd}") unless cmd.to_s.include?("/")