mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 21:44:30 +02: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.
1cb3e009fc
13 lines
257 B
Ruby
13 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
|