Displaying 20 results from an estimated 6000 matches similar to: "RMagick throws path errors in Rails but not from the shell (OSX)"
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
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
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...
2008 Dec 04
2
Does animated gif will work properly using RMagick?
Dear all,
I have used RMagic to read and write a image while uploading. An
animated gif was read from my local machine and was written in my images
folder using RMagick. But the animated gif which i read was witten in my
folder without animation. What should i do to write the gif image with
animation.
Here is my code to read and write image while uploading.
image = params[:image][:blob]
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
2007 Jan 04
1
rmagick working in console but not in my app
hey all,
When I do this in script/console I get:
>> require ''RMagick''
=> true
>> include Magick
=> Object
>> f = Image.new(100,100) { self.background_color = "red" }
=> 100x100 DirectClass 16-bit
>> f.crop_resized(50,50)
=> 50x50 DirectClass 16-bit
But in my application I keep getting the same error as if rmagick was
not
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 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 Apr 17
0
RMagick installation error.
Hi everyone,
I don''t know if it''s the right place to ask you this question.
Anyway, now I''m trying to install RMagick, under Ubuntu Linux, in order
to have an image resizing using RubyonRails. I followed the description
how to install RMagic:
http://rmagick.rubyforge.org/install-linux.html
Everything works, as it''s written, but during the last point (Step 3:
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
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
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
2006 Apr 26
5
imagemagic / rmagic dmg for OSX?
Is there a pre-built disk image for rmagic on OSX (including image magic and
all the other pre-requisites)? I''ve seen that it comes on the Locomotive
image but I don''t want to replace my entire development environment.
Does anybody have a sense of how reliable it is on OSX? I''ve seen some
fairly negative comments when googling, but that''s not the best way to
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
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