# Gruff help

**URL:** <https://www.ruby-forum.com/t/gruff-help/118846>\
**Category:** Rails\
**Created:** [October 31, 2007, 4:10pm UTC](https://www.ruby-forum.com/t/gruff-help/118846 "2007-10-31T16:10:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![qwerty73](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/q/9d8465/32.png) [@qwerty73](https://www.ruby-forum.com/u/qwerty73)\
**Post date:** [October 31, 2007, 4:10pm UTC](https://www.ruby-forum.com/t/gruff-help/118846/1 "2007-10-31T16:10:37Z")

</div>

Hi to all,

i’m trying to use the gruff libraries.  
Then I’ve installed rmagick with:

sudo gem install rmagick

and it seems all good, because at the end i receive this message:  
…  
make install  
/usr/bin/ruby setup.rb install

post-install.rb: installing documentation…

make clean  
/usr/bin/ruby setup.rb clean  
make[1]: Entering directory  
`/var/lib/gems/1.8/gems/rmagick-1.15.10/ext/RMagick' make[1]: Leaving directory`/var/lib/gems/1.8/gems/rmagick-1.15.10/ext/RMagick’  
Successfully installed rmagick-1.15.10

I’ve installed also gruff like before:

sudo gem install gruff

and the installation works fine…  
When i try to require both RMagick an gruff i receive the same error

no such file to load – gruff

or

no such file to load – RMagick

Any help is appreciate,  
thanks in advance

---

<div class="post-metadata">

**Author:** ![qwerty73](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/q/9d8465/32.png) [@qwerty73](https://www.ruby-forum.com/u/qwerty73)\
**Post date:** [October 31, 2007, 6:37pm UTC](https://www.ruby-forum.com/t/gruff-help/118846/2 "2007-10-31T18:37:16Z")

</div>

On 2007-10-31 08:10:37 -0700, Andrea C.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) said:

> or
> 
> no such file to load – RMagick

Is this within rails, or, maybe you didn’t load rubygems?

require ‘rubygems’  
require ‘RMagick’

---

<div class="post-metadata">

**Author:** ![qwerty73](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/q/9d8465/32.png) [@qwerty73](https://www.ruby-forum.com/u/qwerty73)\
**Post date:** [November 5, 2007, 12:47pm UTC](https://www.ruby-forum.com/t/gruff-help/118846/3 "2007-11-05T12:47:15Z")

</div>

Andrew V. wrote:

> On 2007-10-31 08:10:37 -0700, Andrea C.  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) said:
> 
> > or
> > 
> > no such file to load – RMagick
> 
> Is this within rails, or, maybe you didn’t load rubygems?
> 
> require ‘rubygems’  
> require ‘RMagick’

I’ve required the rubygems library…  
I’ve searched in the folder #{RAILS\_ROOT}/vendor/plugins and there is  
one folder for gruff, but there aren’t folders for RMagick…  
Could be this the problem???

thanks

---

<div class="post-metadata">

**Author:** ![qwerty73](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/q/9d8465/32.png) [@qwerty73](https://www.ruby-forum.com/u/qwerty73)\
**Post date:** [November 5, 2007, 1:07pm UTC](https://www.ruby-forum.com/t/gruff-help/118846/4 "2007-11-05T13:07:54Z")

</div>

On 5 Nov 2007, at 11:47, Andrea C. wrote:

> > Is this within rails, or, maybe you didn’t load rubygems?
> > 
> > require ‘rubygems’  
> > require ‘RMagick’
> 
> I’ve required the rubygems library…  
> I’ve searched in the folder #{RAILS\_ROOT}/vendor/plugins and there is  
> one folder for gruff, but there aren’t folders for RMagick…  
> Could be this the problem???

rmagick is a gem, not a plugin so it wouldn’t be there. Where it will  
be installed depends on how you’ve got ruby setup, but its often  
something like /usr/local/lib/ruby/gems/1.8/gems.

gem list  
will show you all installed gems

Fred
