Fails during list-bio.rb because of errors of the form:
method_missing': undefined method `ivars' for #<Gem::Specification name=bio-logger version=1.0.1>
The script retrieves the gem spec with bundle exec gem specification -r #{name} and then loads it into YAML. The result looks like:
Gem::Specification.new do |s|
s.authors = ["Pjotr Prins"]
s.date = Time.utc(2012, 4, 2)
s.dependencies = [Gem::Dependency.new("log4r",
Gem::Requirement.new([">= 1.1.9"]),
:runtime),
Gem::Dependency.new("jeweler",
Gem::Requirement.new([">= 0"]),
:development),
Gem::Dependency.new("shoulda",
Gem::Requirement.new([">= 0"]),
:development),
Gem::Dependency.new("bundler",
Gem::Requirement.new([">= 0"]),
:development),
Gem::Dependency.new("rspec",
Gem::Requirement.new([">= 2.3.0"]),
:development),
Gem::Dependency.new("rdoc",
Gem::Requirement.new([">= 3.12"]),
:development)]
s.description = "Log4r wrapper for BioRuby"
s.email = "pjotr.public01@thebird.nl"
s.homepage = "https://github.com/pjotrp/bioruby-logger-plugin"
s.name = "bio-logger"
s.require_paths = ["lib"]
s.rubygems_version = "1.8.23"
s.specification_version = 3
s.summary = "Log4r wrapper with extra features for roles and sane error handling"
s.version = Gem::Version.new("1.0.1")
end
In list-bio.rb, the ivars method is called on the Gem::Specification instance, but I don't think there is an ivars method. See https://gist.github.com/robsyme/5429320 to replicate.
Running
Fails during
list-bio.rb
because of errors of the form:The script retrieves the gem spec with
bundle exec gem specification -r #{name}
and then loads it into YAML. The result looks like:In list-bio.rb, the ivars method is called on the Gem::Specification instance, but I don't think there is an ivars method. See https://gist.github.com/robsyme/5429320 to replicate.