Skip to content

Commit 6404ac7

Browse files
committed
Removed support for Rubinius (see #435).
1 parent 2429392 commit 6404ac7

12 files changed

+11
-96
lines changed

README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# ruby-install
22

3-
Installs [Ruby], [JRuby], [Rubinius], [TruffleRuby] (native / GraalVM), or
4-
[mruby].
3+
Installs [Ruby], [JRuby], [TruffleRuby] (native / GraalVM), or [mruby].
54

65
## Features
76

@@ -191,7 +190,6 @@ of [rbenv]
191190

192191
[Ruby]: http://www.ruby-lang.org/
193192
[JRuby]: http://jruby.org/
194-
[Rubinius]: http://rubini.us/
195193
[TruffleRuby]: https://github.com/oracle/truffleruby
196194
[mruby]: https://github.com/mruby/mruby#readme
197195

doc/man/ruby-install.1.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66

77
## DESCRIPTION
88

9-
Installs Ruby, JRuby, Rubinius, TruffleRuby, or mruby.
9+
Installs Ruby, JRuby, TruffleRuby, or mruby.
1010

1111
https://github.com/postmodern/ruby-install#readme
1212

1313
## ARGUMENTS
1414

1515
*RUBY*
16-
Install Ruby by name. Must be either `ruby`, `jruby`, `rbx`, `truffleruby`, or
16+
Install Ruby by name. Must be either `ruby`, `jruby`, `truffleruby`, or
1717
`mruby`.
1818

1919
*VERSION*

homebrew/ruby-install.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
class RubyInstall < Formula
2-
desc "Install Ruby, JRuby, Rubinius, TruffleRuby, or mruby"
2+
desc "Install Ruby, JRuby, TruffleRuby, or mruby"
33
homepage "https://github.com/postmodern/ruby-install#readme"
44
url "https://github.com/postmodern/ruby-install/archive/v0.8.5.tar.gz"
55
sha256 "793fcf44dce375c6c191003c3bfd22ebc85fa296d751808ab315872f5ee0179b"

rpm/ruby-install.spec

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
BuildRoot: %{buildroot}
88
Source0: https://github.com/postmodern/%{name}/archive/v%{version}.tar.gz
9-
Summary: Installs Ruby, JRuby, Rubinius, TruffleRuby (native / GraalVM), or mruby
9+
Summary: Installs Ruby, JRuby, TruffleRuby (native / GraalVM), or mruby
1010
Name: %{name}
1111
Version: %{version}
1212
Release: %{release}
@@ -17,7 +17,7 @@ BuildArch: noarch
1717
Requires: bash, grep, wget > 1.12, tar, bzip2, xz, patch
1818

1919
%description
20-
Installs Ruby, JRuby, Rubinius, TruffleRuby (native / GraalVM), or mruby
20+
Installs Ruby, JRuby, TruffleRuby (native / GraalVM), or mruby
2121

2222
%prep
2323
%setup -q

setup.sh

-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@
33
sudo make install
44
ruby-install ruby
55
ruby-install jruby
6-
ruby-install rubinius
76
ruby-install truffleruby

share/man/man1/ruby-install.1

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
.SH DESCRIPTION
1111
.LP
1212
.PP
13-
Installs Ruby, JRuby, Rubinius, TruffleRuby, or mruby\.
13+
Installs Ruby, JRuby, TruffleRuby, or mruby\.
1414
.LP
1515
.PP
1616
https:\[sl]\[sl]github\.com\[sl]postmodern\[sl]ruby\-install\[sh]readme
@@ -19,7 +19,7 @@ https:\[sl]\[sl]github\.com\[sl]postmodern\[sl]ruby\-install\[sh]readme
1919
.LP
2020
.TP
2121
\fIRUBY\fP
22-
Install Ruby by name\. Must be either \fBruby\fR, \fBjruby\fR, \fBrbx\fR, \fBtruffleruby\fR, or
22+
Install Ruby by name\. Must be either \fBruby\fR, \fBjruby\fR, \fBtruffleruby\fR, or
2323
\fBmruby\fR\.
2424
.LP
2525
.TP

share/ruby-install/rbx/dependencies.txt

-9
This file was deleted.

share/ruby-install/rbx/functions.sh

-71
This file was deleted.

share/ruby-install/ruby-install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ruby_install_version="0.9.0"
66
ruby_install_dir="${BASH_SOURCE[0]%/*}"
77
ruby_install_cache_dir="${XDG_CACHE_HOME:-$HOME/.cache}/ruby-install"
88

9-
rubies=(ruby jruby rbx truffleruby truffleruby-graalvm mruby)
9+
rubies=(ruby jruby truffleruby truffleruby-graalvm mruby)
1010
patches=()
1111
configure_opts=()
1212
make_opts=()

share/ruby-install/ruby-versions.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,12 @@ function are_ruby_versions_missing()
3434
function download_ruby_versions_file()
3535
{
3636
local ruby="$1"
37-
local ruby_name="${ruby/rbx/rubinius}"
3837

3938
local file="$2"
4039
local dir="$ruby_install_cache_dir/$ruby"
4140
local dest="$dir/$file"
4241

43-
local url="$ruby_versions_url/$ruby_name/$file"
42+
local url="$ruby_versions_url/$ruby/$file"
4443

4544
if [[ -f "$dest" ]]; then rm "$dest" || return $?
4645
else mkdir -p "$dir" || return $?

test/ruby-install-tests/list_rubies_test.sh

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ function test_list_rubies()
88

99
assertTrue "did not include ruby" '[[ "$output" == *ruby:* ]]'
1010
assertTrue "did not include jruby" '[[ "$output" == *jruby:* ]]'
11-
assertTrue "did not include rbx" '[[ "$output" == *rbx:* ]]'
1211
assertTrue "did not include truffleruby" '[[ "$output" == *truffleruby:* ]]'
1312
assertTrue "did not include mruby" '[[ "$output" == *mruby:* ]]'
1413
}

test/ruby-install-tests/variables_test.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function test_ruby_install_cache_dir()
3030

3131
function test_rubies()
3232
{
33-
for ruby in ruby jruby rbx truffleruby mruby; do
33+
for ruby in ruby jruby truffleruby mruby; do
3434
assertTrue "did not contain $ruby" \
3535
"[[ \" \${rubies[@]} \" == *\" $ruby \"* ]]"
3636
done

0 commit comments

Comments
 (0)