ubuntu - Omniauth (net-ldap requires Ruby version >= 1.8.7.) installation error? -


I'm trying crazily to install omniauth on Ubuntu 8.04.4.

I am getting the following error:

Error: Error installing omniauth: net-ldap requires Ruby version; = 1.8.7.

So I updated Ruby 1.9 still the error persists Why is this happening that any thoughts? I thought that Ruby 1.8.7 was a small release, so the best practice would suggest to grow to Ruby 1.9. Besides, to talk more, I can not find a copy of Ruby 1.8.7 anywhere.

Edit :::::::::::::::::

I cleaned gems and uninstalled Ruby. Then got a version ruby1.8.7, compiled and installed and now it works great.

Cheers,

slotish type

I think Because you have "updated" and have not removed the old Ruby version, the gem will be installed for the old path where old Ruby version was installed.

You can confirm it using the command

Mani env

The last end

In addition, you can check that you have the right ruby ​​as per your requirement. Version is installed

ruby ​​-v

Try removing old versions and then installing a new version of Ruby.

You will get Ruby 1.8.7

Good luck !!

Hope it helps

Comments