summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-08-03 14:07:11 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-08-16 08:43:45 +0200
commit4589a57852ad139e2c7847f12913a3e3df845bc8 (patch)
tree6505b642624682b0c7e2fc33330c749e4d4cb761
parentafdacd62aca0e2b7c574b324ea511b821a6c59df (diff)
downloadbundler-4589a57852ad139e2c7847f12913a3e3df845bc8.tar.gz
Reuse `lib` method
-rw-r--r--spec/support/helpers.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/support/helpers.rb b/spec/support/helpers.rb
index 02ec3c790b..6a333a9658 100644
--- a/spec/support/helpers.rb
+++ b/spec/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?("/")