suchpfad für libraries

Felix von Delius <[email protected]>
Newsgroups gmane.comp.lang.ruby.german
Message-ID <[email protected]>
Hallo,

ich hab hier eine Ruby-Datei (image_size.rb), in der eine Klasse
ImageSize definiert wird und möchte diese systemweit nutzen
können. Mein Versuch sie nach /usr/lib/ruby/site-ruby/1.6 zu kopieren
und dann mit 

  require 'image_size'

war wohl etwas naiv. Entweder ist das o.a. Verzeichnis nicht im
Suchpfad (wie krieg ich den angezeigt?) oder ich kann nicht einfach
require nutzen.

Wäre für einen Tipp recht dankbar!

-Felix
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.