On Sat, 5 Aug 2006, Lance Squire wrote:

> unknown wrote:
>> try this from you rails root
>>
>>    ./script/console
>>
>>    require 'RMagick'
>>
>>    p Magick
>>
>>
>> i'll bet it works
>>
>> -a
>
> Might help if I know what constitutes 'works' is ;)
>
> Here's the output:
>
> $ script/console
> Loading development environment.
>>> require 'RMagick'
> => true
>>> p Magick
> Magick
> => nil
>>>

so, there you have it - ruby, rmagick, and rails altogether.  any errors you
have now are, unfortunately, purely bugs in your own code ;-(


in this one

   http://groups.google.com/group/comp.lang.ruby/browse_frm/thread/8b1dd2eef7f7c0ef/63605438ec4258a2?hl=en#63605438ec4258a2

it's

   require 'rubygems'
   require 'RMagick'

not just

   require 'RMagick'


in this one

   http://groups.google.com/group/comp.lang.ruby/browse_frm/thread/8b1dd2eef7f7c0ef/63605438ec4258a2?hl=en#63605438ec4258a2

it's

   Magick

not

   RMagick


in this one

   http://groups.google.com/group/comp.lang.ruby/browse_frm/thread/8b1dd2eef7f7c0ef/63605438ec4258a2?hl=en#63605438ec4258a2


you are running the requires and includes at instance, not class level


etc.


you've got everything installed correctly and rails sees it too.  now you've
just got to work out the bugs.

regards.


-a
-- 
happiness is not something ready-made.  it comes from your own actions.
- h.h. the 14th dali lama