PAM Authentication

Hello everyone! I'm trying to use PAM in my application and found the gem of Authlogic and rpam. I could not install either the lack of information. Someone has managed to do it? Google's everywhere and found nothing. If you can help me I will be very grateful. Have a nice day.