Active Directory in Ruby on rails

Hi,

I need to create a "Active directory authentication on linux machine"
using ruby on rails.

Can anybody have any idea please?

Regards,

Periyasamy.R