Commit graph

699 commits

Author SHA1 Message Date
Benoit Daloze
3b5c382552 ruby-build 20210119 2021-01-19 23:25:20 +01:00
Hiroshi SHIBATA
8da6714cf4
Bump version to 20201225 2020-12-25 15:10:25 +09:00
Hiroshi SHIBATA
49882781e0
Bump version to 20201221 2020-12-21 09:09:47 +09:00
Hiroshi SHIBATA
61a3330a4b
Bump version to 20201210 2020-12-10 11:39:07 +09:00
Hiroshi SHIBATA
01d9e8a9b5
Bump version to 20201208 2020-12-08 21:48:05 +09:00
Hiroshi SHIBATA
4a0c87c808
Merge pull request #1474 from metalefty/promote-rbenv-install-L
[easy] promote 'rbenv install -L', an alias of '--list-all'
2020-12-03 15:16:22 +09:00
Hiroshi SHIBATA
99f6bcbe49
Merge pull request #1457 from uzxmx/feature/specify-complete-mirror-url
Support specifying the complete mirror URL
2020-12-03 15:14:46 +09:00
Benoit Daloze
f85906ea93 ruby-build 20201118 2020-11-18 12:18:04 +01:00
Benoit Daloze
e92125c51e ruby-build 20201117 2020-11-17 20:34:45 +01:00
Hiroshi SHIBATA
29d1749b2b
bump version to 20201005 2020-10-05 09:40:17 +09:00
Hiroshi SHIBATA
f5cd394dbb
bump version to 20200926 2020-09-26 08:28:40 +09:00
Koichiro Iwao
a31896579e
promote 'rbenv install -L', an alias of '--list-all'
As far as I search on Twitter, the short option is not well known.
2020-09-24 11:52:30 +09:00
Benoit Daloze
0a5e05919a ruby-build 20200819 2020-08-19 16:26:45 +02:00
Benoit Daloze
afcea6e8a0 ruby-build 20200727 2020-07-27 11:10:58 +02:00
Benoit Daloze
7f5f33a584 Fix installation of truffleruby+graalvm on macOS 2020-07-27 11:10:05 +02:00
Benoit Daloze
f3cbd18904 ruby-build 20200722 2020-07-22 16:42:20 +02:00
Benoit Daloze
30895f03c4 Rename definition to truffleruby+graalvm
* '+' needs to be considered part of the name for --definitions and -l
  to see truffleruby and truffleruby+graalvm as separate.
2020-07-22 16:41:01 +02:00
Benoit Daloze
767a1ccc30 Add support for installing GraalVM
* Supports using other GraalVM languages such as JavaScript, Python, R and Java.
* Supports running TruffleRuby on JVM and not only Native.
* Add GraalVM 20.1.0.
2020-07-22 16:41:01 +02:00
Mingxiang Xue
b034b8cd37 Add RUBY_BUILD_MIRROR_PACKAGE_URL to specify the complete mirror URL
Signed-off-by: Mingxiang Xue <mingxiangxue@gmail.com>
2020-07-18 00:36:59 +08:00
jnozsc
bd9e6fbcb7 compatible with macOS 11 2020-06-22 22:31:11 -07:00
Mislav Marohnić
9b7acf605a
Merge pull request #1442 from deivid-rodriguez/fix_bash_4.4_warning
Fix a bash 4.4 warning when installing jruby
2020-06-08 12:12:55 +02:00
Benoit Daloze
24d65c18ed ruby-build 20200520 2020-05-20 16:42:52 +02:00
Ryan Lopopolo
978d03f62b Fix artichoke-dev installer
The existing install function wiped out the prefix that build_package_copy
copied the binaries to. The subsequently created symlinks point to files
that don't exist on disk.
2020-05-20 16:39:40 +02:00
Benoit Daloze
e80bfee5ed ruby-build 20200519 2020-05-19 22:20:55 +02:00
Benoit Daloze
d00f2e9da4 ruby-build 20200518 2020-05-18 16:42:25 +02:00
Benoit Daloze
8cf308a619
Merge pull request #1402 from metalefty/list-exclude-eol
The list `rbenv install -l` is too long, show latest stable releases by default
2020-05-18 16:36:56 +02:00
David Rodríguez
01c0df912a
Fix a bash 4.4 warning when installing jruby
In particular, the following:

```
/path/to/bin/ruby-build: line 739: warning: command substitution: ignored null byte in input
```
2020-05-18 16:36:31 +02:00
Koichiro Iwao
61ca880f7f
Replace one more "all available versions" with "all local versions" 2020-05-02 23:21:56 +09:00
deepj
c27fc59ad8 Add artichoke-dev to install the latest Artichoke nightly build
Allow to install the latest official Artichoke nightly build from https://github.com/artichoke/nightly/releases
2020-04-29 22:59:52 +02:00
Koichiro Iwao
e5951b2ec0
PR: #1419 should be applied also bin/rbenv-install 2020-04-27 11:26:31 +09:00
Koichiro Iwao
e2b65f5dd5 Merge branch 'master' into list-exclude-eol 2020-04-27 11:20:31 +09:00
Jason Karns
1c83641418
Merge pull request #1419 from metalefty/rewording
s/all built-in definitions/all local definitions/
2020-04-12 09:04:38 -04:00
Brent Odell
d7a3be1532
ruby-build 20200401 2020-03-31 18:25:12 -05:00
Koichiro Iwao
c76bf6fb80
s/all available definitions/all local definitions/
"available" implies ruby-build will be checking online sources but
actually ruby-build doesn't do that. "local definitions" may be
prefered.

Pointed out by jasonkarns.
2020-03-20 18:08:04 +09:00
Koichiro Iwao
66647e3953
s/all built-in definitions/all available definitions/
Suggested by mislav: https://github.com/rbenv/ruby-build/pull/1402#discussion_r389060742

> I wonder should we substitute "built-in" with something like "all
> available definitions". Since ruby-build will additionally pick up
> definitions found under the paths listed in RUBY_BUILD_DEFINITIONS,
> these definitions will get listed even if they are not "built-in".
> Therefore, "built-in" feels like a misnomer here.
2020-03-19 18:16:16 +09:00
Koichiro Iwao
c634b8e886
Reword s/Try/Use/ 2020-03-07 21:29:16 +09:00
Koichiro Iwao
b2c25b6801
skip cd in to DEFINITION_DIR in subshell
as it is not necessary. Pointed out by @mislav in review.
2020-03-07 21:28:28 +09:00
Koichiro Iwao
47c18a46dc
revert adding -d options alias for --definitions
This is out of scope of this PR.
2020-03-07 21:19:11 +09:00
Koichiro Iwao
ad48baadb9
rename some functions to reflect more closely what it does
Pointed out by @mislav in review
2020-03-07 21:19:11 +09:00
Koichiro Iwao
67ac0b45d6
the short list now shows only latest stable versions
for each Ruby implementations like the following.

    2.4.9
    2.5.7
    2.6.5
    2.7.0
    jruby-9.2.9.0
    maglev-1.0.0
    mruby-2.1.0
    rbx-3.107
    truffleruby-19.3.1
2020-03-06 22:23:46 +09:00
Koichiro Iwao
e67a940d3e
do not exclude warn_unsupported versions in short list
it is not actually EoL'ed.  `warn_unsupported` indicates
that the versions are nearing EoL.
2020-03-06 22:13:41 +09:00
Koichiro Iwao
92da5bb1f1 -rc, -preview, -dev versions are also removed from short list 2020-03-03 15:13:39 +09:00
Benoit Daloze
7ec5e411bf ruby-build 20200224 2020-02-24 21:37:05 +01:00
Koichiro Iwao
12b17e6e93
rbenv-install: show the short list by default
As suggested by @eregon, now we have "-l/--list" option for the short
list of versions. Behaviour of `ruby-build --definitions` is kept as
before for compatibility.

rbenv-install:
  -L/--list-all       full list
  -l/--list           short list

ruby-build:
  -d/--definitions    full list
  -l/--list           short list
2020-02-19 11:01:43 +09:00
Koichiro Iwao
45ec7a7cfd
ruby-build: add short option "-d" alias to "--definitions" 2020-02-19 10:18:49 +09:00
Benoit Daloze
4dbdc0b6ac ruby-build 20200218 2020-02-18 21:24:15 +01:00
Mislav Marohnić
92fa223e34
Merge pull request #1404 from eladeyal-intel/shorter
shorter git command chains
2020-02-17 21:23:31 +01:00
Benoit Daloze
c702ee7fe9 ruby-build 20200214 2020-02-14 14:58:45 +01:00
Benoit Daloze
cda9b11733 Make sure to install to a clean prefix
* Otherwise, existing files in the prefix could easily conflict and
  potentially cause very hard to debug errors.
* This is particularly important for *-dev builds which might be
  repeatedly installed to the same directory.
2020-02-13 22:05:46 +01:00
eladeyal-intel
1e94192659 shorter git command chains 2020-01-31 17:23:02 +02:00