similar to: rmagick working in console but not in my app

Displaying 20 results from an estimated 2000 matches similar to: "rmagick working in console but not in my app"

2006 Mar 08
3
file_column Cropping -> image offset information
Hello, I had a problem cropping images with file_column. These are my settings: file_column :image, :magick => { :versions => { :thumb => "80x80>", :medium => "150x150>", :square => { :crop => "1:1", :size => "50x50!" } },
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
2007 Sep 03
0
Have you tried RMagick 2.0.0 beta?
The RMagick 2.0.0 beta release has been available for about a month now (http://rubyforge.org/frs/?group_id=12). If you''ve installed it please let me know what your experience has been. I need to hear from users who have had a successful experience before I feel okay about promoting this to production status. Post a note on the RMagick forum at RubyForge
2006 Jul 21
1
setting image resolution with Rmagick
Hi Has anyone had success with setting image resolution with Rmagick. I am resizing an uploaded image with Rmagick, problem is it keeps the original images resolution and I want to change it to 72dpi. <<<<<< code example >>>>>>>>>> # these are the various techniques I have tried when and after reading the file, trying any or all of them does
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:
2006 Jun 30
3
gem Rmagick install problem on Linux
I get the following error when I try to install Rmagic (via gem) on Linux. Do I need to install anyting before installing rmagic? This worked seamlessly on windows. What the best way to install it on Linux. I am on RedHat ES 3. /thanks -thila Attempting local installation of ''rmagick'' Local gem file not found: rmagick*.gem Attempting remote installation of
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
2010 Oct 13
1
Installation of rmagick --version '>= 2.13.1' on CENTOS
I have successfully installed the following components in my centos server: Ruby 1.8.7 Rails 2.3.8 Gem 1.3.7 paperclip --version ''>= 2.3.3'' will_paginate --version ''>= 2.3.15'' tlsmail --version ''>= 0.0.1'' but facing problem at the time of installation of rmagick --version ''>= 2.13.1'' When I go for
2005 Dec 02
1
Rmagick/File Column Problems
I am having trouble getting Rmagick and File Column working on a new server. I thought I got everything installed but File Column is giving me errors: NameError (uninitialized constant Magick): /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/active_support/dep endencies.rb:195:in `const_missing'' /vendor/plugins/file-column-0.3/lib/magick_file_column.rb:8:in
2014 Aug 27
0
Could not install Rmagick Gem in rails 4 (Ubuntu 13.04)
Gem::Ext::BuildError: ERROR: Failed to build gem native extension. /home/anil/.rvm/rubies/ruby-2.0.0-p481/bin/ruby extconf.rb checking for Ruby version >= 1.8.5... yes checking for gcc... yes checking for Magick-config... no Can't install RMagick 2.13.2. Can't find Magick-config in
2007 May 16
1
Rails, Mongrel and Rmagick
i have a rails app with a form that allows uploading an image file. I take the image file and read it into rmagick to verify that it''s an image. For some reason I can''t catch an exception thrown by rmagick inside the app. After an invalid image file is uploaded the process just hangs. I have to kill mongrel and restart to use the app again. img =
2009 Jul 03
5
Can't install RMagick due to MagickWand problems
Hello, I''m trying to install/update rmagick on a Debian machine using: gem install --local rmagick-2.10.0.gem and get following error: /usr/local/bin/ruby extconf.rb install --local rmagick-2.10.0.gem checking for Ruby version >= 1.8.5... yes checking for gcc... yes checking for Magick-config... yes Warning: Found more than one ImageMagick installation. This could cause problems at
2006 Jun 28
0
installing rmagick
CentOS 4 - (RHEL 4 clone) I have ImageMagick and ImageMagick-development installed as well as libjpeg and libjpeg-devel installed and think that I have the necessary requirements in place. Installing the gem... gem install rmagick results in...(gem_make.out) ruby gem_config.rb install rmagick sh configure Configuring RMagick 1.12.0 checking for gcc... gcc checking for C compiler default
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)
2010 Feb 24
5
gem install rmagick --local
Hi all i copied rmagic gem in my local system cd rmagick-2.12.2.gem bash: cd: rmagick-2.12.2.gem: Not a directory *[root@localhost shyam]# gem install rmagick --local* Building native extensions. This could take a while... ERROR: Error installing rmagick: ERROR: Failed to build gem native extension. /usr/bin/ruby extconf.rb checking for Ruby version >= 1.8.5... yes checking for gcc...
2006 May 10
0
Saving extracted data
Hi there, I have a file upload form on my page that is for images. In the model I have this: def file_data=(file_data) @file_data = file_data write_attribute ''extension'', file_data.original_filename.split(''.'').last.downcase write_attribute("content_type", file_data.content_type) write_attribute("current_name",
2006 Nov 13
0
RMagick throws path errors in Rails but not from the shell (OSX)
Hello All, I''m using FileColumn to store images for a model in my app. I use filecolumn to scale uploaded images to different sizes. This much works fine. I then created a Ruby class for annotating text on the uploaded image. I tested this class from the shell and it works as expected. I then created a plugin for this class and hooked it up to the model. Here''s where I start
2007 May 13
0
Problems with RMagick libraries
Hi, I''m trying to use File_colum plugin (rails/../plugin/trunk) with RMagick. When I use in the model: class Usuario < ActiveRecord::Base file_column :image ...rest of the code.... end There''s no problem, images are uploaded and all is working ok. The problem comes when I try to use: class Usuario < ActiveRecord::Base file_column :image, :magick => { :geometry =>
2006 Feb 03
3
File_column and rmagick options
Hi, Currently I''m using the file_column plugin to upload images and save multiple copies of each at 3 different resoltions: file_column :name, :magick => { :versions => { "thumb96" => "96x150>", "medium250" => "250x400>", "large480" => "480X640>" } } I am wondering if
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