Skip to content

Ruby 2.2.1 install failed - 'rdoc' #729

Closed

Description

@dpaluy

I tried to install Ruby 2.2.1 and got the following error:

BUILD FAILED (Ubuntu 14.10 using ruby-build 20150303)

Last 10 log lines:
 76% [736/967]  lib/rubygems/install_update_options.rb
 76% [737/967]  lib/rubygems/installer.rb
 76% [738/967]  lib/rubygems/installer_test_case.rb
 76% [739/967]  lib/rubygems/local_remote_options.rb
 76% [740/967]  lib/rubygems/mock_gem_ui.rb
 76% [741/967]  lib/rubygems/name_tuple.rb
 76% [742/967]  lib/rubygems/package.rb
Killed
uncommon.mk:427: recipe for target 'rdoc' failed
make: *** [rdoc] Error 137

Is there any known solution?

Thanks.

Activity

  1. mislav commented on Mar 8, 2015

    @mislav
    Member

    Might be related to #728 but I'm not sure.

    Try disabling the doc building step like here #156 (comment)

    RUBY_CONFIGURE_OPTS=--disable-install-doc rbenv install ...
    
  2. dpaluy commented on Mar 10, 2015

    @dpaluy
    Author

    @mislav It works. Thanks

  3. shredding commented on Nov 26, 2015

    @shredding

    Can you enlight me were to put that?

    ATM I do:

    echo 'gem: --no-document' >> /usr/local/etc/gemrc &&\
        mkdir /src && cd /src && git clone https://github.com/sstephenson/ruby-build.git &&\
        cd /src/ruby-build && ./install.sh &&\
        cd / && rm -rf /src/ruby-build && ruby-build 2.2.3 /usr/local
    
  4. mislav commented on Nov 26, 2015

    @mislav
    Member
    # Abort script when any command fails.
    # Useful to avoid having to chain all commands on one line with `&&`.
    set -e
    
    echo 'gem: --no-document' > /usr/local/etc/gemrc
    mkdir -p /src
    git clone https://github.com/sstephenson/ruby-build.git /src/ruby-build
    /src/ruby-build/install.sh
    rm -rf /src/ruby-build
    RUBY_CONFIGURE_OPTS=--disable-install-doc ruby-build 2.2.3 /usr/local
  5. shredding commented on Nov 26, 2015

    @shredding

    thx

  6. MehmetKaplan commented on Dec 3, 2018

    @MehmetKaplan

    Same issue in an instance in amazon lightsail. Solved by action stated within #729 (comment)

  7. eldar88e commented on Mar 18, 2023

    @eldar88e

    @mislav Thanks!

  8. locked and limited conversation to collaborators on Mar 19, 2023
  9. converted this issue into a discussion #2167 on Mar 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions