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

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.
Fbd9cb107fe7c941333d6a3488691989?d=identicon&s=25 Ramon Tayag (ramontayag)
on 2007-03-10 04:46
(Received via mailing list)
Hi everyone,

I wanted to add this class here for handling passwords:

http://www.caliban.org/ruby/ruby-password.shtml

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
A951364eaa0c5e429515da0c6a2e8383?d=identicon&s=25 askme (Guest)
on 2007-03-10 05: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.

e.g.

 require 'password'

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

On Mar 10, 8:45 am, "Ramon Miguel M. Tayag" <ramon.ta...@gmail.com>
Fbd9cb107fe7c941333d6a3488691989?d=identicon&s=25 Ramon Tayag (ramontayag)
on 2007-03-10 05:50
(Received via mailing list)
Apparently I was using the wrong words.  You install libraries, not
classes.  I found the answers, but ChaitanyaPrakash.N@gmail.com is
right, the installation doesn't work.  Maybe someone knoww how to fix
it?

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

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