Code Monkey home page Code Monkey logo

Comments (4)

HashNuke avatar HashNuke commented on August 16, 2024

@pootsbook Set the env var RUBY_EXTRA_CONFIGURE_OPTIONS when installing rubies.

RUBY_EXTRA_CONFIGURE_OPTIONS="--enable-shared --disable-install-doc" asdf install ruby 3.2.1

Closing the issue. Please let me know if there's trouble running that.

from asdf-ruby.

pootsbook avatar pootsbook commented on August 16, 2024

@HashNuke running that installs Ruby fine, but it still disables the installation of docs. I think what I am looking for is a way to remove the option --disable-install-doc from the configure_options var but it is hard-coded.

The only way to do so would be to supply my own set of options via RUBY_CONFIGURE_OPTIONS, but going down that path loses all the os_configure_options which I would like to keep.

Do you think you would accept a PR that would either:

  1. add a flag to enable and disable --disable-install-doc OR
  2. even remove this as a default, and then let people know if they don’t want docs that they can specify RUBY_EXTRA_CONFIGURE_OPTIONS="--disable-install-doc"? (This would mirror the behaviour of RubyGems, which installs ri and rdoc unless told not to via --no-ri --no-rdoc).

from asdf-ruby.

webkay avatar webkay commented on August 16, 2024

@HashNuke meant --enable-install-doc in place of --disable-install-doc when you said

RUBY_EXTRA_CONFIGURE_OPTIONS="--enable-shared --disable-install-doc" asdf install ruby 3.2.1

right? I agree with you @pootsbook I think there are still many ri users out there. And personally I almost gave up before I found this issue.

from asdf-ruby.

HashNuke avatar HashNuke commented on August 16, 2024

from asdf-ruby.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.