# How do you add/install Ruby classes?

**URL:** <https://www.ruby-forum.com/t/how-do-you-add-install-ruby-classes/88372>\
**Category:** Rails\
**Created:** [March 10, 2007, 4:46am UTC](https://www.ruby-forum.com/t/how-do-you-add-install-ruby-classes/88372 "2007-03-10T04:46:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ramontayag](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/c6cbf5/32.png) [@ramontayag](https://www.ruby-forum.com/u/ramontayag)\
**Post date:** [March 10, 2007, 4:46am UTC](https://www.ruby-forum.com/t/how-do-you-add-install-ruby-classes/88372/1 "2007-03-10T04:46:52Z")

</div>

Hi everyone,

I wanted to add this class here for handling passwords:

[http://www.caliban.org/ruby/ruby-password.shtml](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

---

<div class="post-metadata">

**Author:** ![ramontayag](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/c6cbf5/32.png) [@ramontayag](https://www.ruby-forum.com/u/ramontayag)\
**Post date:** [March 10, 2007, 5:45am UTC](https://www.ruby-forum.com/t/how-do-you-add-install-ruby-classes/88372/2 "2007-03-10T05:45:57Z")

</div>

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” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![ramontayag](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/c6cbf5/32.png) [@ramontayag](https://www.ruby-forum.com/u/ramontayag)\
**Post date:** [March 10, 2007, 5:50am UTC](https://www.ruby-forum.com/t/how-do-you-add-install-ruby-classes/88372/3 "2007-03-10T05:50:57Z")

</div>

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  
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

---

<div class="post-metadata">

**Author:** ![ramontayag](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/c6cbf5/32.png) [@ramontayag](https://www.ruby-forum.com/u/ramontayag)\
**Post date:** [March 10, 2007, 5:45am UTC](https://www.ruby-forum.com/t/how-do-you-add-install-ruby-classes/88372/4 "2007-03-10T05:45:57Z")

</div>

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” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
