[ruby-core:81952] [Ruby trunk Bug#13724] make install does not install bundled gems

From: hsbt@...
Date: 2017-07-07 09:52:37 UTC
List: ruby-core #81952
Issue #13724 has been updated by hsbt (Hiroshi SHIBATA).


installation of bundled gems requires `make update-gems` and `make extract-gems`.

We should add above instructions to README.md.

----------------------------------------
Bug #13724: make install does not install bundled gems
https://bugs.ruby-lang.org/issues/13724#change-65674

* Author: Eregon (Benoit Daloze)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.5.0dev (2017-07-06 trunk 59273) [x86_64-linux]
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
I believe the usual way to build C (autoconf) software is

    autoconf
    ./configure --prefix=...
    make
    make install

However, such a sequence does not download nor install bundled gems.
One needs to "make up" before "make install".
This is also not documented in "make help" nor in the README:
https://github.com/ruby/ruby#how-to-compile-and-install

As a consequence many people who build ruby from the source repository might get a ruby without the usual bundled gems (and therefore different from a release).

As an example, did_you_mean does not work without "make up":

$ ruby -e 'p [].eac'



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next