similar to: uninitialized constant ImageList

Displaying 20 results from an estimated 8000 matches similar to: "uninitialized constant ImageList"

2009 May 25
0
NameError (uninitialized constant FileColumn::Magick::ImageList
Hi, I have been using RMagick and File Column in my app together without a problem, but when I tried to add in some new functionality in my model where I use file_column, I got the error in the subject line. The offending line in my code is: image = Magick::ImageList.new(path_to_image) Has anybody ever seen this problem when using the two libraries together? I have tried adding in a require
2006 Apr 06
4
GraphicsMagick or ImageMagick and RMagic on OS X
Hi all, I''ve been trying to install GraphicsMagick with RMagic. I''ve tried ImageMagick with RMagic as well. I''ve tried the installations using Darwin Ports, Gems and from source. Nothing seems to work properly. My specs: ruby --version ruby 1.8.4 (2005-12-24) [powerpc-darwin8.5.0] rails --version Rails 1.1.0 convert -version Version: ImageMagick 6.1.8 04/05/06 Q16
2006 Apr 06
1
Rmagick file conversion
I am using rmagick to convert files stored as a tiff to either pdf or jpg for display to the user. A snippet of test code from the controller follows. It works OK. ( it does need a sanitizer ) require RMagick def pdf @sdoc = Sdoc.find(params[:id]) @fname = ''/var/www/images/'' + @sdoc.fname @nf = Magick::ImageList.new(@fname)
2006 Dec 23
11
Frustrating "require" problems with RMagick
I am using RMagick in my app and am having problems in deployment. The deployment machine (Fedora Core 5) can''t find RMagick unless I change the "require" syntax from that used on the dev machine (OS X). And the dev machine doesn''t like the syntax that works on the deployment server! To wit: [OS X] $ script/console Loading development environment. >> require_gem
2006 May 01
3
RMagick question ?
I have a file rmg.rb: require ''RMagick'' include Magick cat = ImageList.new("prod.jpg") cat.display exit The file prod.jpg is in the same directory as this file above. I execute the following: ruby rmg.rb I get the following output: /usr/lib/ruby/1.8/RMagick.rb:1377:in `read'': unable to open image `'': No such file or directory:
2007 Jun 05
1
My RMagick sucks under windowsXP
Hi,I plan to use rmagick for my rails app,however it can not work normally under windowsXP platform: I have installed ruby1.8.5,and then rmagick-1.14.1 and ImageMagick-6.3.0-7-Q8-windows-dll,which can be got from the url: http://rubyforge.org/frs/download.php/15132/RMagick-1.14.1_IM-6.3.0-7-Q8.zip after my installation,and when i run a rmagick test under
2011 Mar 16
19
Uninitialized constant Files::Magick -still around
Hi there, I''m solving the problem about the plugin Magick. In my app in Gemfile I''ve follwoing: require ''rubygems'' require ''mongo'' require ''RMagick'' include Magick and in a model Files: class Files def self.save(upload) ... img = Magick::Image.read(''public/data/nature6.jpg'').first end end
2006 Feb 13
3
file_column: uninitialized constant Magick
I am getting this following error when using file_column with RMagick: uninitialized constant Magick /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/ active_support/dependencies.rb:200:in `const_missing'' ./script/../config/../vendor/plugins/rails_file_column/plugins/ file_column/branches/kyle/lib/file_column.rb:621:in `file_column''
2006 May 07
1
file_column problem - uninitialized constant Magick
Hi, I''m on Windows and getting the following error while trying to use file_column with RMagick, uninitialized constant Magick C:/INSTAN~1.0/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in `const_missing'' #{RAILS_ROOT}/vendor/plugins/file_column/branches/kyle/lib/file_column.rb:621:in `file_column'' I installed file_column by
2006 Jan 23
2
require rmagick
Hello, I''m trying to use rmagick in a helper script (for auto-generating image sizes) and I''m not sure where I should be calling ''require''. currently I have: require ''RMagick'' at the top of my controller: class FilmsController < ApplicationController require ''RMagick'' but that''s giving me an error:
2009 Oct 01
2
Installing RMagick on UBUNTU 9.04
I installed ImageMagick 6.5.6 and all seems to be installed ok. I downloaded ImageMagick 6.5.6 I entered $ ./configure and everything seems OK. When I enter $ identify -version I get Version: ImageMagick 6.5.6-6 2009-09-30 Q8 OpenMP http://www.imagemagick.org Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC I then enter $ sudo gem install rmagick I get Building native extensions.
2010 Feb 03
7
could not find rmagick locally or in a repository
I unzipped simple captcha in vendor/plugins Then I did >rake simple_captcha:setup Gave error: rake aborted! no such file to load -- RMagick2.so SO I thought Rmagick has to be installed. So downloaded 2.12.0 binary gem for Ruby 1.8.6 DT 2009-10-04 16:05 RMagick-2.12.0-ImageMagick-6.5.6-8-Q8.zip Unzipped the file Ran ImageMagick-6.5.6-8-Q8-windows-dll.exe It installed the program in
2011 Aug 31
2
Rails 3 - Require - Path Not Found
I have: Windows XP Professional SP3 Ruby 1.8.7 Rails 3.0.10 Bundler 1.0.15 ImageMagick 6.5.6 Q8 Rmagick 2.12.9 My gemfile: gem ''rmagick-2.12.0-x86-mswin32'', ''2.12.0'', :path => ''c:/sites/ uplodify/vendor'' My controller: require ''RMagick'' Here I have installed my rmagick gem:
2006 Feb 09
9
RMagick on OS X - HOW
Hello all. I''m a seasoned system administrator and have no fear of building source packages on a variety of platforms, but RMagick has, until recently, evaded all of my attempts to building it on my PowerBook. Someone else just mentioned that they had trouble with RMagick on OS X (Intel, don''t really know if my advice will help) so I decided to post a HOWTO to the list. I
2006 May 17
2
uninitialized constant Magick Please help!
Dear Rail experts, thank you for such a resourceful list. I am working on an application using Rails 1.1 [REVISION=4240] whereas my server has Rails 1.0 installed. I recently decided to give file_column a try and everything works fine except I am getting the following error: "uninitialized constant Magick" I have tried setting environment variables,
2007 Sep 03
1
Problem installing RMagick gem
Hi, I have problems installing problem installing the RMagick gem. My environment: - winXP - instantrails 1.4 - installed ImageMagick-6.3.0-7-Q8-windows-dll.exe I have problems installing the gem: cmd I''m running: gem install rmagick --local --debug Error: Exception `Errno::ENOENT'' at F:/InstantRails/ruby/lib/ruby/site_ruby/ 1.8/rubygems/config_file.rb:50 - No such file or
2006 Jun 05
1
file_column & RMagick
Hi, I have a site where I wish to upload a resize a picture, and store it in the file system. The best solution that I have found for this so far is using file_column. This was working great, for about an hour, but all of the sudden I began to get the following error (only when i attempt to resize). NameError (undefined method `assoc'' for class `Magick::ImageList''):
2007 Nov 22
7
Problem Installing RMagick with Instant Rails on Windows
I''m running Instant Rails 1.4 on Windows XP with SP2. I have downloaded the Windows binary version of RMagick from the RubyForge page. Specifically, I have downloaded: 1.14.1 binary gem for Ruby 1.8.5 (fixed for RubyGems 0.9.4) RMagick-1.14.1_IM-6.3.0-7-Q8-2.zip I have removed any older versions of RMagick using: gem uninstall RMagick I have updated my version of rubygems. I
2006 Sep 15
0
RMagick, OS X, and granite
I''m having an odd problem with RMagick. Consider the following script: ############################################################ require ''rubygems'' require ''RMagick'' Magick::ImageList.new(''granite:'').display ############################################################ Under Linux (Debian in particular), this works fine and
2006 Mar 23
1
Using ImageMagick with Locomotive
Hi, I''m trying to use the routines on this page: <http://addictedtonew.com/archives/127/rotating-images-with-rmagick-and-ruby-on-rails/> to try and rotate some images. I tried using the script/console to do some testing, - I know ImageMagick is working, as I''m using the filecolumn plugin to resize images as they are loaded. When I try, using the console, to rotate an