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
On 2007-10-31 08:10:37 -0700, Andrea C.
[email protected] said:
or
no such file to load – RMagick
Is this within rails, or, maybe you didn’t load rubygems?
require ‘rubygems’
require ‘RMagick’
Andrew V. wrote:
On 2007-10-31 08:10:37 -0700, Andrea C.
[email protected] 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
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