Forum: Ruby on Rails How do you add/install Ruby classes?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Ramon T. (Guest)
on 2007-03-10 05:46
(Received via mailing list)
Hi everyone,

I wanted to add this class here for handling passwords:

But I don't know how to.  There's nothing on that page.  I searched in
Google too but found nothing.

Thank in advance :)

Ramon Miguel M. Tayag
askme (Guest)
on 2007-03-10 06:45
(Received via mailing list)
I too am a newbie, but I'm wondering wouldn't standard installation
procedure work?

$ ruby extconf.rb
$ make
$ make install

and 'require' it at the beginning of your ruby program.


 require 'password'

 # My ruby code goes here ..
 # and here ..
 # and here ..

On Mar 10, 8:45 am, "Ramon Miguel M. Tayag" 
Ramon T. (Guest)
on 2007-03-10 06:50
(Received via mailing list)
Apparently I was using the wrong words.  You install libraries, not
classes.  I found the answers, but removed_email_address@domain.invalid is
right, the installation doesn't work.  Maybe someone knoww how to fix

If not, since I see that the library is quite old, is there another
library that can be used for password checking, generating, etc?

Ramon Miguel M. Tayag
This topic is locked and can not be replied to.