Skip to content

Instantly share code, notes, and snippets.

@stouset
Created February 26, 2010 21:56
Show Gist options
  • Save stouset/316212 to your computer and use it in GitHub Desktop.
Save stouset/316212 to your computer and use it in GitHub Desktop.
$ gem spec --debug ~/.bundle/ruby/1.8/bundler/gems/sinatra-b525892ea06b9fac17e190c37b6500b2c2378e0b-1.0.a/sinatra-1.0.a.gem
Exception `NameError' at /Library/Ruby/Site/1.8/rubygems/command_manager.rb:163 - uninitialized constant Gem::Commands::SpecificationCommand
Exception `Gem::Exception' at /Library/Ruby/Site/1.8/rubygems/specification.rb:487 - YAML data doesn't evaluate to gem specification
Exception `IOError' at /Library/Ruby/Site/1.8/rubygems/format.rb:50 - closed stream
Exception `NoMethodError' at /Library/Ruby/Site/1.8/rubygems/commands/specification_command.rb:118 - undefined method `version' for nil:NilClass
ERROR: While executing gem ... (NoMethodError)
undefined method `version' for nil:NilClass
/Library/Ruby/Site/1.8/rubygems/commands/specification_command.rb:118:in `execute'
/Library/Ruby/Site/1.8/rubygems/format.rb:50:in `sort_by'
/Library/Ruby/Site/1.8/rubygems/commands/specification_command.rb:118:in `each'
/Library/Ruby/Site/1.8/rubygems/commands/specification_command.rb:118:in `sort_by'
/Library/Ruby/Site/1.8/rubygems/commands/specification_command.rb:118:in `execute'
/Library/Ruby/Site/1.8/rubygems/command.rb:258:in `invoke'
/Library/Ruby/Site/1.8/rubygems/command_manager.rb:134:in `process_args'
/Library/Ruby/Site/1.8/rubygems/command_manager.rb:104:in `run'
/Library/Ruby/Site/1.8/rubygems/gem_runner.rb:58:in `run'
/usr/bin/gem:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment