Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::Commands::RebuildCommand#error_message
error_message(gem_name)
lib/rubygems/commands/rebuild_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/rubygems/commands/rebuild_command.rb, line 227
def error_message(gem_name)
if gem_name
"Couldn't find a gemspec file matching '#{gem_name}' in #{Dir.pwd}"
else
"Couldn't find a gemspec file in #{Dir.pwd}"
end
end
No documentation available