command-not-found suggests rubygems1.9 instead of 'rubygems' for the 'gem' command.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
command-not-found (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: rubygems
root@cyryl-
The program 'gem' can be found in the following packages:
* rubygems1.8
* rubygems1.9.1
Try: apt-get install <selected package>
root@cyryl-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'ruby1.9.1' instead of 'rubygems1.9.1'
ruby1.9.1 is already the newest version.
so there is a bug in the 'can be found in..'
and also I don't see a way to install gem program for ruby 1.9
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: rubygems (not installed)
ProcVersionSign
Uname: Linux 2.6.35-24-generic i686
Architecture: i386
Date: Sun Dec 26 13:54:22 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: libgems-ruby
Hi Cyryl. This is actually a problem with command-not-found, which should be suggesting 'rubygems' not 'rubygems1.9'. Note that gem in rubygems will call ruby1.8, and that you should be using 'gem1.9.1' if you want to install gems with ruby1.9.1.