El mié 09 jul 2014 16:32:47 ECT, Quiliro Ordóñez Baca escribió: > > > El mié 09 jul 2014 13:15:36 ECT, Ignacio Huerta escribió: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Hi Quiliro, >> >> I think you need to enable ruby1.9.3 as your default Ruby, so "ruby >> - -v" returns "1.9.3". You should be able to use a package called >> "ruby-switch" for this. It just handles the aliased in >> /etc/alternatives. If it's not available, you might be able to do the >> same manually > > It is not available. But changing alternatives was easy. > sudo rm /etc/alternatives/ruby > sudo ln -s /usr/bin/ruby1.9.3 /etc/alternatives/ruby > > I got ruby -v correct now: > ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
Forgot to mention that I also modified gem alternative: sudo rm /etc/alternatives/gem sudo ln -s /usr/bin/gem1.9.3 /etc/alternatives/ruby But it is weird. The result I get from gem -v is 1.8.11 It is the same with /usr/bin/gem1.9.3 -v Does that mean that /usr/bin/gem1.9.3 is really version 1.8.11? -- Saludos libres, Quiliro Ordóñez 600 8579
signature.asc
Description: OpenPGP digital signature
