postmodern / ruby-install

Installs Ruby, JRuby, TruffleRuby, or mruby
MIT License
1.91k stars 252 forks source link

Non-obvious usage error #350

Closed zenspider closed 3 years ago

zenspider commented 5 years ago
9993 % ruby-install -c -j 6 ruby 2.6
ruby-install: too many arguments: 6 ruby 2.6
usage: ruby-install [OPTIONS] [RUBY [VERSION] [-- CONFIGURE_OPTS ...]]

Options:

    -r, --rubies-dir DIR    Directory that contains other installed Rubies
    -i, --install-dir DIR   Directory to install Ruby into
        --prefix DIR        Alias for -i DIR
        --system        Alias for -i /usr/local
    -s, --src-dir DIR   Directory to download source-code into
    -c, --cleanup       Remove archive and unpacked source-code after installation
    -j, --jobs JOBS     Number of jobs to run in parallel when compiling

looks like -j doesn't take a number, despite the printed usage.