hinsen
April 19, 2008, 3:59pm
1
Hi.
I have ImageMagick and RMagick successfully installed:
#gem list | grep -i rmagick
rmagick (2.3.0)
Unfourtunately, my RoR project will still not start.
I always see the following error in my apache error logs:
[error] /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require' [error] no such file to load -- RMagick [error] ( [error] MissingSourceFile [error] ) [error] \tfrom /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
require’
…
Any ideas?
hinsen
April 19, 2008, 5:49pm
2
It even works if i try to load RMagick in the console, but not if i
access my application via browser!
# script/console
Loading development environment (Rails 2.0.2)
*******************************************************************
* config.breakpoint_server has been deprecated and has no effect.
require ‘RMagick’
=> []
hinsen
December 21, 2008, 6:16pm
3
I got this same exact problem ( with newer versions, rmagick 2.8.0,
rails 2.2.2)
Did you ever find a solution?
Anyone else got any ideas?
hinsen
July 23, 2008, 7:21pm
4
I have teh same problem…
IRB:
irb(main):001:0> require ‘RMagick’
=> true
script/console (of my app):
require ‘RMagick’
=> []
include Magick
=> Object
image = Magick::ImageList.new()
=> []
scene=
But the same code in mail Controller gives me:
no such file to load – RMagick
I don’t know where the problem could be…
I had the same problem, and found the solution here, by Peturrr:
RMagick problems + solution
Do not use:
sudo gem install rmagick
Peturrr solved this by uninstalling the gem and installing the
precompiled rmagick ubuntu package from the universe repos.:
sudo gem uninstall rmagick
sudo apt-get install librmagick-ruby
This solution solved my problem as well.
–Cedric dLB
hinsen
December 22, 2008, 12:09am
6
In my case the reason was no capitzalized R and M,
which worked fine on windows but not on my new machine.
So not the same issue as OP