Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Running ghoul server from the gem fails #8

Closed
jeroeningen opened this Issue · 2 comments

2 participants

@jeroeningen

When I install the gem I got several warnings:
Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ghoul-0.1.8.gemspec]: Illformed requirement ["#Syck::DefaultKey:0x00000003a856a8 1.3.1"]
Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ghoul-0.1.8.gemspec]: Illformed requirement ["#Syck::DefaultKey:0x00000003a856a8 1.3.1"]
Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ghoul-0.1.8.gemspec]: Illformed requirement ["#Syck::DefaultKey:0x00000003a856a8 1.3.1"]

When I try to run the command 'ghoul server' I got:
Invalid gemspec in [/usr/local/lib/ruby/gems/1.9.1/specifications/ghoul-0.1.8.gemspec]: Illformed requirement ["#Syck::DefaultKey:0x0000000327cec0 1.3.1"]
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in to_specs': Could not find ghoul (>= 0) amongst [...] (Gem::LoadError)
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:256:in
to_spec'
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems.rb:1195:in gem'
from /usr/local/bin/ghoul:18:in

'

I think it is probably because of a malformed gemspec.

Using ghoul by cloning from github works just fine ;)

@georgedrummond

I found some documentation on this issue: http://blog.rubygems.org/2011/08/31/shaving-the-yaml-yak.html

Looks as if the problem is a Psych -> Syck problem to do with rubygems. Can I ask what version of rubygems you are using
(run gem -v)?

@jeroeningen

On the link you gave I found the solution.

Updating my rubygems from 1.8.6 to 1.8.11 didn't fix the problem. Installing Psych did fix the problem ;)

@jeroeningen jeroeningen closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.