packetmonkey/prawn-gmagick — pull request #7 by jcoleman (2014-09-23 13:21:59+00:00)
Title: Fix extension build

Currently when you attempt to load the installed gem, you get the following error:

/lib/prawn/gmagick.rb:2:in `require_relative': cannot load such file -- ...bundler/gems/prawn-gmagick-181cfeb75911/lib/prawn/gmagick/image (LoadError)

because the extension compiles into lib/image.bundle rather than lib/prawn/gmagick/image.bundle like the Rake task triggered under testing used. This patch standardizes on the default gem installation behavior.

---

Also eliminates the runtime dependency on rake-compiler.