Hi,

I'm very new to Heroku and am trying to deploy an app I have in early
development. This app uses prawn to generate pdf output and this works
fine on my local setup.

I have installed prawn as a submodule rather than as a gem in
accordance with the developers' suggestions at
http://wiki.github.com/sandal/prawn/using-prawn-in-rails. This was
before I knew about the inability of heroku to use submodules (http://
docs.heroku.com/constraints#git-submodules). Anyway, I followed the
instructions to track the submodule in the main project, but when I
try uploading the app I get an error (on display at
http://fierce-waterfall-51.heroku.com/) which suggests to me that
prawn is not being found (the .to_pdf method being called in my
controller is defined in a class that is a subclass of Prawn::Document
in the same manner as described on the prawn/rails page above).

Does anyone have a solution to this problem or should I give up on
this approach? As the prawn gem is not being kept up to date until the
1.0 release (next month?) I'm reluctant to switch to a gem based
approach until then but may do so if I have no other choice.

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to