Locomotive to Linux

Hi guys,
I initially developed an application using Locomotive on Mac OS X. I
developed 2 applications which use one database. Now I would like to
export them to a Linux box. How do I go about doing that.
My applications use, Ruby-LDAP library and Net-SSH library.

On the Linux box, I have installed Ruby gems and installed Rails
successfully and also I ran the command ‘gem install net-ssh’ and
installed that successfully.
But this command ‘gem install ruby-ldap’ failed. Is there any reason it
failed?

Thanks!