mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 12:34:21 +00:00
Since now every functionality that changes in Bundler 4 is under a setting, we can enable that setting to test the new functionality, without having to run our full CI twice. This can actually be seen as increasing coverage, because Bundler 4 functionality will now be tested on Windows, MacOS, or any other environment where previously "Bundler 4 mode" was not running. https://github.com/rubygems/rubygems/commit/1cb3e009fc
14 lines
257 B
Ruby
14 lines
257 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Spec
|
|
module Env
|
|
def ruby_core?
|
|
File.exist?(File.expand_path("../../../lib/bundler/bundler.gemspec", __dir__))
|
|
end
|
|
|
|
def rubylib
|
|
ENV["RUBYLIB"].to_s.split(File::PATH_SEPARATOR)
|
|
end
|
|
end
|
|
end
|