sinatra-prawn icon indicating copy to clipboard operation
sinatra-prawn copied to clipboard

Update The Gem

Open danielberkompas opened this issue 13 years ago • 3 comments

I tried using the gem source from gems.github.com, and it's an old version that is not compatible with Sinatra 1.3. (It doesn't contain the Tilt module in prawn.rb) The gem doesn't seem to be hosted anywhere else either.

I tried sourcing the gem to this repository, but my require 'sinatra/prawn' call doesn't work when I do. Could you get the a recent version of the gem hosted on rubygems?

danielberkompas avatar Apr 02 '12 21:04 danielberkompas

I forked the repository and pushed the latest version of the gem to RubyGems under the name "dberkom-sinatra-prawn". I'm not planning on doing a lot of maintenance on the code; I just needed this to happen soon. If you get the gem pushed up to rubygems under the "sinatra-prawn" name, I'll switch over to using that.

Edit: You can find my fork here. I bumped the version number up to 0.9.2.2 from 0.9.2.1.

danielberkompas avatar Apr 03 '12 18:04 danielberkompas

+1 for @danielberkompas' solution... it worked perfectly here

carloslopes avatar Jun 11 '12 01:06 carloslopes

+1 for @danielberkompas' solution... it worked perfectly here as well!

Kudos :thumbsup:

pvdb avatar Jun 28 '12 18:06 pvdb