similar to: Attachment fu on windows

Displaying 20 results from an estimated 300 matches similar to: "Attachment fu on windows"

2007 Aug 02
3
Code works in console but fails test?
So I have message model and each user has many messages. When I run user.messages in the console it returns correctly, however in the test it returns and empty collection? Any thoughts. All the sql is being generate correctly, I checked the log. Here''s a pastie with the code in question. http://pastie.caboo.se/84337 --~--~---------~--~----~------------~-------~--~----~ You received
2007 Feb 06
3
Polymorphic either or but not both
I am trying to create a generic person model. Then subclass it as either a professor or an author. The only problem is that since some professors are authors, I don''t want duplicate entries. Any ideas on how to handle this? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2011 Dec 29
1
rmagick and imagemagick
I am having issues loading imagemagick and rmagick on webfaction. I have installed a rails app called balder that organizes images. my main problem is that i can''t seem to upoload the image sthrough balder. balder uses imagemagick and rmagick when i use the console and do this: irb(main):003:0> require ''RMagick'' => nil I don''t think rmagick is
2009 Jan 29
7
Installed gems aren't installed
Like the subject says, I''ve got a really weird problem. A co-worker added a couple of gems to our rails project. I installed these gems on my machine (a macbook, os x 10.5.6), start the server, and it says it can''t find these gems: ============= Missing these required gems: mini_exiftool = 1.0.1 mini_magick = 1.2.3 You''re running: ruby 1.8.6.114 at
2007 Feb 06
1
Attachment_fu ImageScience FreeImage thumbnail quality
I''ve tried migrating acts_as_attachment to attachment_fu (just to see if I could replace RMagick with ImageScience+FreeImage), but the quality of the thumbnails is just horrendous, blurred beyond recognition (downscaling a 1280x1024 to a few considerably smaller thumbnails). Changing attachment_fu to use RMagick again and the thumbnails were crispy sharp again. I was wondering
2007 Dec 17
1
attachment_fu error? Help!
FreeImage exception for type ???: IPTC: Invalid key ''Tag 0x0275 Anyone seen this? FreeImage exception for type ???: IPTC: Invalid key ''Tag 0x0275'' [RAILS_ROOT]/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/processors/image_science_processor.rb:14:in `with_image'' Thank you so much in advance for your help! Mike -- Posted via
2007 May 28
3
MiniMagick... Core Dump when Reszing Images?
Hi, I''m using Mini Magick and that attachment_fu plugin to resize images that the user uploads. Everything looks okay in my code, but I get a core dump every time an image is uploaded. The file successfully posts to the application, I can see that the original file gets copied into the folder correctly. It appears that it dumps immediately after that. I''m using Mongrel behind
2006 Sep 13
4
Mini_Magick Problem
I can''t for the life of me figure this out. Been banging my head on this since the weekend, and can''t see what I''m doing wrong. This code works: image.resize("640x480") image.write(path) I run this and I get the resized file just fine. This doesnt work at all: width = 200 height = 100 dimensions = "#{width}x#{height}"
2007 Aug 10
2
uninitialized constant MiniMagic (NameError)
Hi, Mini-Magick breaking. I have installed mini-magick gem. Here is my sample program require ''rubygems'' gem ''mini_magick'' include minimagick image = MiniMagick::Image.from_file(''./fun.jpg'') image.resize "100x100" image.write(''./funthumb.jpg'') Output: test.rb:3: undefined local variable or method
2006 Nov 14
16
memory issues -- mongrel part of the problem?
Hi. I''m a fairly new mongrel user and have a scenario that I wanted to run by you all, see if anyone''s synapses connect -- mine def. aren''t! I''m running a fairly simple rails app through a mongrel cluster (2 mongrels). This site is consistently sloooow -- memory on the server is regularly paging (and shouldn''t be). ssh-ing in and running top shows
2007 May 23
8
ImageScience, Mini-Magick and RMagick
I''m going to be generating thumbnails from user uploaded images. I''m looking around at the libraries available to do this sort of thing and there are three that look promising. ImageScience -- http://seattlerb.rubyforge.org/ImageScience.html Mini-Magick -- http://rubyforge.org/projects/mini-magick/ RMagick -- http://rmagick.rubyforge.org/ It looks like a lot of people are
2006 Dec 15
6
RMagick=bad, ???=good
I know that Zed has made mention of the fact that using RMagick with mongrel and rails is a bad thing. I''m currently using FlexImage (which in turn uses RMagick) on my application and really haven''t had too many problems. We get a restart for memory usage every 8-10 hours on one mongrel of twelve running, but I''m not sure if that''s an RMagick issue. Either way,
2007 Jan 17
18
mongrel memory usage ballooning and process stomping
Hi, I have mongrel 0.3.14, with ruby 1.8.5, rails 1.1.6 and mongrel cluster 0.2.1, on debian sage 3.1 with apache 2.0, and fastthread 0.6.1. I am load balancing 3 mongrel processes using the random port trick. When I start mongrel the processes have about 60MB, but after some hour of usage the memory ballons upto more than 180MB and the site becomes terribly slow. Forcing me to restart mongrel
2008 Jun 30
1
building theora for windows
Hi, I?m trying to build a static theora library for windows from sources with Visual Studio Express. Building the ogg-library was a piece of cake, but after converting the project-files for theora, I still get numerous errors, such as: fatal error C1083: Datei (Quelle) kann nicht ge?ffnet werden: "..\..\..\lib\dec\x86_vc\x86state.c": No such file or directory mmxstate.c Probably
2009 Jun 10
5
uninitialized constant ActiveSupport::Cache (NameError)
Hi After having updated some GEMS I get `load_missing_constant'': uninitialized constant ActiveSupport::Cache (NameError) on starting the server of a freshly generated rails project. Before, I already had Rails 2.3.2 projects succesfully running, now all of them generate this error. These are my GEMS: actionmailer (2.3.2, 2.2.2, 2.1.2, 2.1.1, 2.1.0) actionpack (2.3.2, 2.2.2, 2.1.2,
2008 Apr 16
4
"radio mobile" difficulty by wine newbie
This is my first attempt at using wine. [Well, you know what I mean. ;-) The program I am trying to run is http://www.cplus.org/rmw/english1.html There is a data for the program under wine: http://appdb.winehq.org/objectManager.php?sClass=application&iId=3756 However, the data needed to run the program under wine can be found here: http://www.vias.org/wirelessnetw/wndw_05_08_05.html The
2007 Aug 14
2
New Rails App - Web Based SSH
Hey All - I''ve just put up a new rails app you might find interesting. It''s called GotoSSH.com. Its basically a web based SSH client. We use Rails to run the whole thing along with modifications to the ajaxterm js library. It''s helpful if you''re stuck at a job that blocks SSH access (believe me, they exist - I''ve been there), or you''re on
2009 Jul 20
9
rake error
When I run rake test:units I get this error: 292 tests, 350 assertions, 2 failures, 13 errors rake aborted! Command failed with status (1): [/usr/local/bin/ruby -I"lib:test" "/ usr/loc...] This error just showed up yesterday --- I have no idea how I caused it. Here is my gem list in case that helps: actionmailer (2.3.2, 2.2.2) actionpack (2.3.2, 2.2.2) activerecord (2.3.2, 2.2.2)
2006 Mar 27
3
RMagick and thumbnails
I''ve based my code on the Agile example for uploading files, pages 362-365. I''ve successfully loaded the Picture object to the database, but I come unstuck when trying to replicate this for a thumbnail version of the original image: thumbnail = Thumbnail.new thumbnail.name = ''thumbnail_'' + @picture.name.to_s
2007 Apr 08
13
attachment_fu thumbnail not created
I followed the instructions on Mike Clark''s weblog and everything works perfectly except the thumbnail column in my DB is alwas NULL. I''m using S3 as my storage system. Anyone else having this issue with thumbnails? has_attachment :content_type => :image, :storage => :s3, :max_size => 500.kilobytes, :resize_to =>