Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid gemspec #17

Closed
fbjork opened this issue Oct 5, 2011 · 1 comment
Closed

Invalid gemspec #17

fbjork opened this issue Oct 5, 2011 · 1 comment

Comments

@fbjork
Copy link

fbjork commented Oct 5, 2011

Got this exception when trying to push to Heroku using the latest gem:

WARNING: #<ArgumentError: Illformed requirement ["#Syck::DefaultKey:0x00000002594708 0.1.1"]>

-- encoding: utf-8 --

Gem::Specification.new do |s|
s.name = %q{qu-redis}
s.version = "0.1.1"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Brandon Keepers"]
s.date = %q{2011-10-03 00:00:00.000000000Z}
s.description = %q{Redis backend for qu}
s.email = ["brandon@opensoul.org"]
s.files = ["lib/qu-redis.rb", "lib/qu/backend/redis.rb"]
s.homepage = %q{http://github.com/bkeepers/qu}
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.7}
s.summary = %q{Redis backend for qu}

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_runtime_dependency(%q, [">= 0"])
s.add_runtime_dependency(%q<simple_uuid>, [">= 0"])
s.add_runtime_dependency(%q, ["#Syck::DefaultKey:0x00000002594708 0.1.1"])
else
s.add_dependency(%q, [">= 0"])
s.add_dependency(%q<simple_uuid>, [">= 0"])
s.add_dependency(%q, ["#Syck::DefaultKey:0x00000002594708 0.1.1"])
end
else
s.add_dependency(%q, [">= 0"])
s.add_dependency(%q<simple_uuid>, [">= 0"])
s.add_dependency(%q, ["#Syck::DefaultKey:0x00000002594708 0.1.1"])
end
end
WARNING: Invalid .gemspec format in 'vendor/bundle/ruby/1.9.1/specifications/qu-redis-0.1.1.gemspec'
Could not find qu-redis-0.1.1 in any of the sources

@bkeepers
Copy link
Owner

bkeepers commented Oct 5, 2011

Ah, good ol' yaml. My bad, I generated the 0.1.1 gem with Ruby 1.9, which leads to all kinds of fun. Read more about it here http://blog.rubygems.org/2011/08/31/shaving-the-yaml-yacc.html.

I just pushed 0.1.2, which was generated with Ruby 1.8.

@bkeepers bkeepers closed this as completed Oct 5, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants