Is it possible to enable doc installation?
This line would seem to suggest that --disable-install-doc is hard coded:
configure_options="$configure_options --enable-shared --disable-install-doc"
Is there a way to allow documentation to be installed?
Use-case: people (like me) who use ri extensively.
@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.
@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:
- add a flag to enable and disable
--disable-install-docOR - 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 installsriandrdocunless told not to via--no-ri --no-rdoc).
@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.
Agree. Good idea to enable it by default.
On Mon, 11 Dec 2017 at 11:05 AM, webkay [email protected] wrote:
@HashNuke https://github.com/hashnuke meant --enable-install-doc in place of --disable-install-doc when you say
RUBY_EXTRA_CONFIGURE_OPTIONS="--enable-shared --disable-install-doc" asdf install ruby 3.2.1
right? I agree with you @pootsbook https://github.com/pootsbook I think there are still many ri users out there. And personally I almost gave up before I found this issue.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/asdf-vm/asdf-ruby/issues/19#issuecomment-350626756, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFIJbmk8GCpcoXg1IqUHaddKVUSdsrOks5s_L8SgaJpZM4KgCe0 .