Robert Mannl said: > Hi! > > I'm on a shared host, and I asked them to install RMagick, which they > have done. However, when I include RMagick (using RubyGems), the Magick > class isn't created. See the following script: > > require "rubygems" > require "RMagick" > print defined?(Magick) ? "Magick is defined\n" : "Magick isn't defined\n" > > On my local PC that outputs "Magick is defined". On the shared host it > outputs "Magick isn't defined" > > As a result I tried installing RubyGems + RMagick myself in my home dir. > However, I get the same problem: require'ing RMagick doesn't include the > Magick class. Lets find out where RMagick is installed: (1) type: 'gem env gempath', and make note of the directory (call it GEMPATH). (2) type: 'dir GEMPATH\gems', (substitute the directory found above for GEMPATH). See if there is an RMagick directory there (it will probably have a version number). If its there, then it was downloaded and at least attempted to install. (3) type: 'dir GEMPATH\specifications'. See if there is a RMagic specification in that directory. If not, then RMagick wasn't successfully installed. Perhaps it had a compile problem. Look for a gem_make.out file in the RMagick directory found in step (2). -- -- Jim Weirich jim / weirichhouse.org http://onestepback.org ----------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)