Hey Stu. I need ask a guy who works for me how this is set up. Unfortunately he's out on holiday right now. Hang in there another day or so and I'll get this sorted out.
On Tue, Dec 30, 2008 at 9:50 PM, shenry <[email protected]> wrote: > > ... apologies for posting every 5 mins, too much caffeine > > here is what I get in the heroku console: > > >> identify /tmp/stream.24992.0 > SyntaxError: compile error > /home/heroku_rack/lib/init.rb:1: unknown regexp options - tra > /home/heroku_rack/lib/init.rb:1: no .<digit> floating literal anymore; > put 0 before dot > identify /tmp/stream.24992.0 > ^ > /home/heroku_rack/lib/init.rb:1: syntax error, unexpected tFLOAT > identify /tmp/stream.24992.0 > ^ > > Do I need to modify the way paperclip names the temporary files to > avoid this error? Can anyone who's got paperclip resizing images offer > advice on where I might be going wrong? > > Thanks, > > Stu > > On Dec 30, 9:03 pm, shenry <[email protected]> wrote: > > Paperclip is throwing this error during its thumbnail creation: > > > > /tmp/stream.24992.0 is not recognized by the 'identify' command > > > > any ideas? Thanks, > > > > Stu > > > > On Dec 29, 9:22 pm, shenry <[email protected]> wrote: > > > > > Hi Orion, thanks for the reply... I've removed rmagick from vendor and > > > required it and have the same problem. Not sure if I'm requiring > > > correctly, but I've tried: > > > > > require 'RMagick' > > > include Magick > > > > > in both the photo.rb model and environment.rb ... maybe it's a > > > paperclip issue? > > > > > Thanks, > > > > > Stu > > > > > On Dec 29, 9:12 am, "Orion Henry" <[email protected]> wrote: > > > > > > Stu, > > > > > > You can't vendor RMagick because of all the binary and system level > > > > dependencies. But we have it installed by default. If you delete it > from > > > > your vendor and just require it straight up that should work. > > > > > > Orion > > > > > > On Sun, Dec 21, 2008 at 11:52 PM, shenry <[email protected]> > wrote: > > > > > > > [a little while later ...] > > > > > > > I think the problem has to do with RMagick - can't seem to get the > gem > > > > > to work when deployed to Heroku for some reason. I've got it > vendored > > > > > and required in environment.rb, but I get a warning when I > db:migrate > > > > > that says "the gems that this app depend on are missing: - rmagick" > > > > > > > and when I run rake gems:install I get errors aplenty. Any advice? > > > > > Thanks in advance, > > > > > > > Stu > > > > > > > On Dec 21, 10:15 pm, shenry <[email protected]> wrote: > > > > > > I'm uploading images via Paperclip and the thumbnails aren't > getting > > > > > > generated, probably because of something I've not properly > configured > > > > > > in my app to work with Heroku's ImageMagick... > > > > > > > > Has anyone had success uploading and resizing in production that > can > > > > > > share some guidance? Thanks for any advice, > > > > > > > > Stu > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
