Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
class method
Gem.find_and_activate_spec_for_exe
find_and_activate_spec_for_exe(name, exec_name, requirements)
lib/rubygems.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/rubygems.rb, line 239
def self.find_and_activate_spec_for_exe(name, exec_name, requirements)
spec = find_spec_for_exe name, exec_name, requirements
Gem::LOADED_SPECS_MUTEX.synchronize do
spec.activate
finish_resolve
end
spec
end
No documentation available
See also
.env_requirement
.find_config_file
.ensure_gem_subdirectories
.find_default_spec
also in
4.0