"Illformed requirement" error message on install
Closed this issue · 5 comments
fro commented
Hi,
I can' t install Carmen gem without having this error message :
WARNING: #<ArgumentError: Illformed requirement ["#<Syck::DefaultKey:0x00000109609488> 1.6.2"]>
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = %q{carmen}
s.version = "0.2.9"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Jim Benton"]
s.date = %q{2011-12-20 00:00:00.000000000Z}
s.description = %q{A collection of geographic country and state names for Ruby. Also includes replacements for Rails' country_select and state_select plugins}
s.email = %q{jim@autonomousmachine.com}
s.extra_rdoc_files = ["README.rdoc"]
s.files = ["CHANGELOG.md", "Gemfile", "MIT-LICENSE", "README.rdoc", "Rakefile", "VERSION", "carmen.gemspec", "data/countries/cn.yml", "data/countries/cs.yml", "data/countries/de.yml", "data/countries/en.yml", "data/countries/es.yml", "data/countries/fi.yml", "data/countries/hi.yml", "data/countries/it.yml", "data/countries/jp.yml", "data/countries/nl.yml", "data/countries/pl.yml", "data/countries/pt.yml", "data/countries/ru.yml", "data/countries/sk.yml", "data/countries/sv.yml", "data/states/au.yml", "data/states/br.yml", "data/states/ca.yml", "data/states/cu.yml", "data/states/de.yml", "data/states/dk.yml", "data/states/es.yml", "data/states/hr.yml", "data/states/in.yml", "data/states/it.yml", "data/states/mx.yml", "data/states/nl.yml", "data/states/no.yml", "data/states/nz.yml", "data/states/ua.yml", "data/states/us.yml", "lib/carmen.rb", "lib/carmen/action_view_helpers.rb", "lib/carmen/railtie.rb", "test/carmen_test.rb", "test/carmen_view_helper_test.rb", "test/test_helper.rb"]
s.homepage = %q{http://github.com/jim/carmen}
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.7}
s.summary = %q{A collection of geographic country and state names for Ruby}
if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_development_dependency(%q<jeweler>, ["#<Syck::DefaultKey:0x00000109609488> 1.6.2"])
s.add_development_dependency(%q<mocha>, [">= 0"])
s.add_development_dependency(%q<rails>, [">= 0"])
s.add_development_dependency(%q<hanna>, [">= 0"])
else
s.add_dependency(%q<jeweler>, ["#<Syck::DefaultKey:0x00000109609488> 1.6.2"])
s.add_dependency(%q<mocha>, [">= 0"])
s.add_dependency(%q<rails>, [">= 0"])
s.add_dependency(%q<hanna>, [">= 0"])
end
else
s.add_dependency(%q<jeweler>, ["#<Syck::DefaultKey:0x00000109609488> 1.6.2"])
s.add_dependency(%q<mocha>, [">= 0"])
s.add_dependency(%q<rails>, [">= 0"])
s.add_dependency(%q<hanna>, [">= 0"])
end
end
WARNING: Invalid .gemspec format in '/Users/francois/.rvm/gems/ruby-1.9.2-p0@docendi/specifications/carmen-0.2.9.gemspec'
With or without Bundler, no differences.
Version 0.2.8 or 0.2.9 produce the same errors.
Any ideas ?
Thx a lot.
budu commented
One thing to note after reverting to version 0.2.8 using bundler and RVM, the warnings are still there as there's a gemspec copy in the specifications
directory.
fro commented
I've removed the gemspec.
burlesona commented
Getting the exact same issue.
jim commented
Appears to be related to #79.
I've pushed out 0.2.10, which was built with Ruby 1.8.7. It's worth upgrading Rubygems itself if you can, but hopefully this helps those stuck on older versions. Please reopen this issue if the problem persists.
fro commented
Thx Jim.