StanAngeloff / compass-magick

Dynamic image generation for Compass using ChunkyPNG/PhantomJS.
http://StanAngeloff.github.com/compass-magick/
Other
157 stars 4 forks source link

Conflict with new chunky_png-1.20? #9

Closed teradude closed 13 years ago

teradude commented 13 years ago

My first attempt to require "magick" resulted in this error:

Gem::LoadError on line ["1579"] of /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb: Unable to activate compass-magick-0.1.3, because chunky_png-1.2.0 conflicts with chunky_png (~> 1.1.0)

Does that mean that compass-magick-0.1.3 requires chunky png 1.1.0 and 1.2.0 is no good?

StanAngeloff commented 13 years ago

I have just downloaded chunky_png-1.2.0 on top of my existing set up and I don't seem to be getting any errors.

I am still new to this whole dependency management thingy in Ruby and I honestly don't know what might be causing the issue. Here are my gems:

chunky_png (1.2.0, 1.1.0)
compass (0.11.1)
compass-magick (0.1.3)
oily_png (1.0.0)
sass (3.1.1)

Could you paste yours? Anyone with more experience with RubyGems able to help? The .gemspec for Magick has gem 'chunky_png', '~> 1.1.0' which is close to what Compass uses ~> 1.1.

StanAngeloff commented 13 years ago

I have just pushed 0.1.4 out which solves the issue. As simple as adjusting the gemspec to use ~> 1.1 rather than 1.1.0.

teradude commented 13 years ago

Thanks