{"record":{"id":"0eccb4bbb6ad9725","repo":"ruby/rubygems","slug":"could-not-find-gem-full-name-try-using-the-ful","errorCode":null,"errorMessage":"Could not find gem #{full_name}, try using the full name","messagePattern":"Could not find gem #(.+?), try using the full name","errorType":"exception","errorClass":"Gem::Exception","httpStatus":null,"severity":"error","filePath":"lib/rubygems/commands/lock_command.rb","lineNumber":63,"sourceCode":"  gem 'actionwebservice', '= 1.0.0'\n\nJust load lockdown.rb from your application to ensure that the current\nversions are loaded.  Make sure that lockdown.rb is loaded *before* any\nother require statements.\n\nNotice that rails 1.0.0 only requires that rake 0.6.2 or better be used.\nRake-0.7.0.1 is the most recent version installed that satisfies that, so we\nlock it down to the exact version.\n    EOF\n  end\n\n  def usage # :nodoc:\n    \"#{program_name} GEMNAME-VERSION [GEMNAME-VERSION ...]\"\n  end\n\n  def complain(message)\n    if options[:strict]\n      raise Gem::Exception, message\n    else\n      say \"# #{message}\"\n    end\n  end\n\n  def execute\n    say \"require 'rubygems'\"\n\n    locked = {}\n\n    pending = options[:args]\n\n    until pending.empty? do\n      full_name = pending.shift\n\n      spec = Gem::Specification.load spec_path(full_name)\n\n      if spec.nil?","sourceCodeStart":45,"sourceCodeEnd":81,"githubUrl":"https://github.com/ruby/rubygems/blob/86cbb817a38ce8477b181c17467a703ded3f2be8/lib/rubygems/commands/lock_command.rb#L45-L81","documentation":"Error \"Could not find gem #{full_name}, try using the full name\" thrown in ruby/rubygems.","triggerScenarios":"Thrown at lib/rubygems/commands/lock_command.rb:63 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"86cbb817a38ce8477b181c17467a703ded3f2be8","analyzedAt":"2026-08-23T06:27:48.159Z","schemaVersion":2},"datasetVersion":"2026-08-23T08:06:27.607Z"}