mirror of
https://github.com/ruby/ruby.git
synced 2025-08-25 05:55:46 +02:00
9 lines
327 B
Ruby
9 lines
327 B
Ruby
# frozen_string_literal: true
|
|
|
|
require "rubygems"
|
|
Gem.instance_variable_set(:@ruby, ENV["RUBY"]) if ENV["RUBY"]
|
|
|
|
require_relative "path"
|
|
bundler_gemspec = Spec::Path.loaded_gemspec
|
|
bundler_gemspec.instance_variable_set(:@full_gem_path, Spec::Path.source_root)
|
|
bundler_gemspec.activate if bundler_gemspec.respond_to?(:activate)
|