celluloid / reel

UNMAINTAINED: See celluloid/celluloid#779 - Celluloid::IO-powered web server
https://celluloid.io
MIT License
594 stars 87 forks source link

Impossible http_parser gem dependencies #108

Closed SimPitUK closed 10 years ago

SimPitUK commented 11 years ago

When attempting to install the reel gem I get error:

ERROR: While executing gem ... (Gem::ImpossibleDependenciesError) http-0.5.0 requires http_parser.rb (>= 0) but it conflicted: Activated http_parser.rb-0.5.3 instead of (>= 0.6.0.beta.2) via: reel-0.4.0

I'm using ubuntu, with rbx 2.1 which was installed using rvm.

tarcieri commented 11 years ago

Can you try uninstalling all versions of http_parser.rb? I think you just have an outdated version.

SimPitUK commented 11 years ago

It was a virgin instan of ruby it was installed on. The workaround is to manually install the version of the gem it wants(which worked fine for me after) i did install celluloid just before so something is installing the older(incompatible?) http_parser.rb gem before reel ( I actually came across this issue attemping to install the dcell gem) On 7 Oct 2013 18:50, "Tony Arcieri" notifications@github.com wrote:

Can you try uninstalling all versions of http_parser.rb? I think you just have an outdated version.

— Reply to this email directly or view it on GitHubhttps://github.com/celluloid/reel/issues/108#issuecomment-25829652 .

tarcieri commented 11 years ago

Reel explicitly depends on http_parser.rb >= 0.6.0.beta.2. The Http Gem has no explicit version dependency.

Perhaps because of that it pulled down the wrong version at first. I think @tmm1 needs to release http_parser.rb 0.6.0 ;)

You might mention your problems on https://github.com/tmm1/http_parser.rb

SaitoWu commented 11 years ago

+1 for JRuby

tarcieri commented 11 years ago

@SaitoWu did you experience this problem as well?

phuesler commented 10 years ago

Same issue on a vanilla installation of JRuby on RVM. Fixed it with

gem install http_parser.rb --version 0.6.0.beta.2
tarcieri commented 10 years ago

There's an open issue on http_parser.rb (see above) to release 0.6.0. That's the only permanent fix for this issue I'm aware of :crying_cat_face:

digitalextremist commented 10 years ago

Looks like @tarcieri updated the version in reel.gemspec -- so, @dublinclontarf can you verify all is well for you?

tarcieri commented 10 years ago

Gonna call this fixed by 99474a4b3