Project

General

Profile

Actions

Bug #14065

closed

Two categories of default gems?

Bug #14065: Two categories of default gems?

Added by duerst (Martin Dürst) almost 8 years ago. Updated almost 8 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 2.5.0dev (2017-10-29 trunk 60536) [x86_64-cygwin]
[ruby-core:83600]

Description

When I make and install Ruby, the output at the end looks as follows:

installing default gems:      /usr/local/lib/ruby/gems/2.5.0 (build_info, cache, doc, extensions, gems, specifications)
                              bundler 1.15.4
                              ...
                              webrick 1.4.0.beta1
installing default gems:      /usr/local/lib/ruby/gems/2.5.0 (build_info, cache, doc, extensions, gems, specifications)
                              bigdecimal 1.3.2
                              ...
                              zlib 0.1.0
installing bundled gems:      /usr/local/lib/ruby/gems/2.5.0 (build_info, cache, doc, extensions, gems, specifications)
                              did_you_mean-1.1.2.gem
                              ...
                              xmlrpc-0.3.0.gem

It's unclear what the distinction between the first and the second batch of "default gems" is. I suggest either merging the categories or making clear why there are two categories.

Updated by MSP-Greg (Greg L) almost 8 years ago Actions #1 [ruby-core:83601]

Martin,

You're probably already aware, for those not, first set are 'pure ruby' gems, the second set are 'extension' gems, which require compiling.

Greg

Updated by duerst (Martin Dürst) almost 8 years ago Actions #2 [ruby-core:83611]

MSP-Greg (Greg L) wrote:

You're probably already aware,

I guessed.

for those not, first set are 'pure ruby' gems, the second set are 'extension' gems, which require compiling.

Okay, then what about
'installing default pure ruby gems' and 'installing default extension gems'. Another solution may be to remove the 'extensions, ' text inside the parentheses in the first group.

Yet another alternative is to have just a single list.

Updated by nobu (Nobuyoshi Nakada) almost 8 years ago Actions #3 [ruby-core:83612]

duerst (Martin Dürst) wrote:

Another solution may be to remove the 'extensions, ' text inside the parentheses in the first group.

It is a directory name automatically created by Gem.install.

Updated by nobu (Nobuyoshi Nakada) almost 8 years ago Actions #4

  • Status changed from Open to Closed

Applied in changeset trunk|r60578.


rbinstall.rb: show categories of default gems

  • tool/rbinstall.rb (#install_default_gem): show categories of
    default gems, pure ruby libraries and libraries with extensions.
    [ruby-core:83600] [Bug #14065]
Actions

Also available in: PDF Atom