Forum: Ruby Unrequireable and Rubygems - problem

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
67bb4df2775f6a6b603347dce7119571?d=identicon&s=25 unknown (Guest)
on 2006-05-03 19:09
(Received via mailing list)
Dear all,

in conjunction with my classifier/tagging problems, I was trying to  use
"unrequireable" from
_http://simplypowerful.1984.cz/unrequireable/1.2005...
(http://simplypowerful.1984.cz/unrequireable/1.2005...) .

The example given at that website works, but

if I write

require "unrequireable"
Object::unrequireable!

require  "summarize_text.rb"
"china.txt".text_summ(30,'test5.rtf')
unrequire  "summarize_text.rb"
require  "transl.rb"
"test5.rtf".tag_it('english','test6.txt'),

where "summarize_text.rb" starts with the lines,

require "rubygems"
require 'classifier',

I get the error:  no such file to load - classifier -

It is in
C:\cygwin\usr\local\lib\ruby\gems\1.8\gems\classifier-1.3.0\lib,
and it is found, if I just execute "summarize_text.rb".

Why is that ?

Thank you,

Best regards,

Axel
This topic is locked and can not be replied to.