GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
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?
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.
+1 for @danielberkompas' solution... it worked perfectly here
+1 for @danielberkompas' solution... it worked perfectly here as well!