You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check the latest available version of TruffleRuby with:
51
51
52
52
```bash
53
-
rbenv install --list| grep truffleruby
53
+
rbenv install --list
54
54
```
55
55
56
56
Then install the latest TruffleRuby standalone release with:
@@ -71,6 +71,22 @@ You can also install TruffleRuby+GraalVM with:
71
71
rbenv install truffleruby+graalvm-[LATEST_VERSION] OR truffleruby+graalvm-dev
72
72
```
73
73
74
+
### `asdf` (with `asdf-ruby` plugin)
75
+
76
+
See https://github.com/asdf-vm/asdf-ruby for installing and updating `asdf-ruby`.
77
+
78
+
You can install a TruffleRuby standalone release or nightly build with:
79
+
80
+
```bash
81
+
asdf install ruby truffleruby-VERSION OR truffleruby-dev
82
+
```
83
+
84
+
You can install TruffleRuby+GraalVM with:
85
+
86
+
```bash
87
+
asdf install ruby truffleruby+graalvm-VERSION OR truffleruby+graalvm-dev
88
+
```
89
+
74
90
### `ruby-install` and `chruby`
75
91
76
92
First, you need at least `ruby-install` 0.7.1 to get TruffleRuby support.
@@ -146,19 +162,20 @@ chruby truffleruby
146
162
ruby --version
147
163
```
148
164
149
-
### RVM
165
+
### `rvm`
150
166
151
-
RVM has a command for adding a precompiled Ruby to the list of available rubies:
167
+
`rvm` has a command for adding a precompiled Ruby to the list of available rubies:
152
168
153
169
```bash
154
170
rvm mount "$ruby_home" -n truffleruby
155
171
rvm use ext-truffleruby
156
172
ruby --version
157
173
```
158
174
159
-
### asdf (with asdf-ruby plugin)
175
+
### `asdf` (with `asdf-ruby` plugin)
160
176
161
-
Adding Truffleruby to asdf functions, much like `rbenv` or `chruby`, creates a symbolic link in the `.installs/ruby` directory but you also need to reshim:
177
+
To add TruffleRuby to `asdf`, create a symbolic link in the `.installs/ruby` directory.
0 commit comments