diff options
Diffstat (limited to 'bin/rspec')
-rwxr-xr-x | bin/rspec | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,8 @@ #!/usr/bin/env ruby # frozen_string_literal: true +load File.expand_path("../with_rubygems", __FILE__) if ENV["RGV"] + require "rubygems" bundler_spec = Gem::Specification.load(File.expand_path("../../bundler.gemspec", __FILE__)) @@ -8,8 +10,6 @@ bundler_spec.dependencies.each do |dep| gem dep.name, dep.requirement.to_s end -Gem::Specification.unresolved_deps.each do |_name, dep| - gem dep.name, *dep.requirement -end +Gem.finish_resolve if Gem.respond_to?(:finish_resolve) load Gem.bin_path("rspec-core", "rspec") |