command-not-found suggests rubygems1.9 instead of 'rubygems' for the 'gem' command.

Bug #694474 reported by Cyryl Plotnicki-Chudyk
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
command-not-found (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: rubygems

root@cyryl-VirtualBox:~# gem update
The program 'gem' can be found in the following packages:
 * rubygems1.8
 * rubygems1.9.1
Try: apt-get install <selected package>
root@cyryl-VirtualBox:~# apt-get install rubygems1.9.1
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)
ProcVersionSignature: Ubuntu 2.6.35-24.42-generic 2.6.35.8
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

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

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.

affects: libgems-ruby (Ubuntu) → command-not-found (Ubuntu)
summary: - cannot install rubygems 1.9
+ command-not-found suggests rubygems1.9 instead of 'rubygems' for the
+ 'gem' command.
Revision history for this message
Cyryl Plotnicki-Chudyk (cyplo) wrote :

Okay, thanks for rewriting the summary for me then !
:)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.