TaKO8Ki / frum

A little bit fast and modern Ruby version manager written in Rust
MIT License
629 stars 15 forks source link

add instructions for configure options #78

Open DanielKehoe opened 3 years ago

DanielKehoe commented 3 years ago

The README says:

You can also specify many other options that will be listed when running ./configure -h.

Can we have an example? It's a great feature and I'd like to see the options but I couldn't figure out how to run ./configure -h.

@citizen428 ?

TaKO8Ki commented 3 years ago

I think the link below will help you 👍

https://www.ruby-lang.org/en/documentation/installation/#building-from-source

TaKO8Ki commented 3 years ago

I think it it necessary to list all configure options in README, but different ruby versions have different config options. So, we don't do it now.

citizen428 commented 3 years ago

I was mulling this over for a bit and was wondering if we could add a --configure-help switch to install which would fetch Ruby, extract it and then run ./configure -h.

This would probably entail the following additional work:

  1. Ensure install will use an already downloaded tarball instead of re-fetching.
  2. Add a clean command to remove potential leftover downloads.

What do you think?