bmgz
1
I am having a slight problem getting the
rmagick gem loaded with rails…
I can do this:
require ‘RMagick’
=> true
Magick.inspect
=> “Magick”
but this does not work:
require ‘rubygems’
=> true
require_gem ‘rmagick’
=> true
Magick.inspect
NameError: uninitialized constant Magick
from (irb):3
any ideas?
bmgz
2
On Apr 3, 2006, at 9:48 PM, bmgz wrote:
require ‘rubygems’
=> true
require_gem ‘rmagick’
=> true
Magick.inspect
NameError: uninitialized constant Magick
from (irb):3
any ideas?
See:
http://groups.google.com/group/comp.lang.ruby/browse_frm/thread/
97fc6d4401e1dc47/44794c4fdb29c3bb?rnum=2#44794c4fdb29c3bb
– Daniel
bmgz
3
Daniel H. wrote:
See:
http://groups.google.com/group/comp.lang.ruby/browse_frm/thread/
97fc6d4401e1dc47/44794c4fdb29c3bb?rnum=2#44794c4fdb29c3bb
– Daniel
…
Ok, then if RAILS is using require ‘RMagick’ then everything
should be fine, alas it’s some RAILS environment path that
needs to be set…