diff options
Diffstat (limited to 'spec/support/helpers.rb')
-rw-r--r-- | spec/support/helpers.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/support/helpers.rb b/spec/support/helpers.rb index 3f1c0a3068..f54b25e42a 100644 --- a/spec/support/helpers.rb +++ b/spec/support/helpers.rb @@ -250,6 +250,8 @@ module Spec path = if g == :bundler Dir.chdir(root) { gem_command! :build, "#{root}/bundler.gemspec" } bundler_path = root + "bundler-#{Bundler::VERSION}.gem" + elsif g.to_s =~ %r{\A/.*\.gem\z} + g else "#{gem_repo}/gems/#{g}.gem" end |