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 -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 2007-10-31 08:10:37 -0700, Andrea Campagna <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> said:> i''m trying to use the gruff libraries. > Then I''ve installed rmagick with: > > sudo gem install rmagick > 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 -- RMagickIs this within rails, or, maybe you didn''t load rubygems? require ''rubygems'' require ''RMagick'' --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Andrew Vit wrote:> On 2007-10-31 08:10:37 -0700, Andrea Campagna > <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> 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 -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 5 Nov 2007, at 11:47, Andrea Campagna wrote:> > Andrew Vit wrote: >> On 2007-10-31 08:10:37 -0700, Andrea Campagna >> <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> 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???? >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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---