Skip to content

Commit 56a7566

Browse files
committed
[GR-15308] Avoid an explicit list of default gems because it's too hard to maintain.
PullRequest: truffleruby/1249
2 parents 687277b + 5f8d02d commit 56a7566

File tree

1 file changed

+6
-47
lines changed

1 file changed

+6
-47
lines changed

doc/contributor/stdlib.md

Lines changed: 6 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -117,62 +117,21 @@ See https://stdgems.org.
117117
> they get automatically installed when you install Ruby. They can be
118118
> uninstalled and they are maintained outside of Ruby core.
119119
120-
We aren't sure how installing standard gems from RubyGems will work with
121-
TruffleRuby in the future, as our versions sometimes differ from the
122-
originals. At the moment, we're just storing sources in our repository and
123-
shipping the full set as MRI does, and we'll tackle issue when they come in
124-
future versions of Ruby.
125-
126-
Keep these versions in sync with `versions.json`.
120+
It is not clear yet how installing default gems from RubyGems will work with
121+
TruffleRuby in the future, as some default gems we use differ from the originals.
127122

128123
### Default gems
129124

125+
To list default gems, use:
130126
```
131-
gem list | grep default:
127+
$ gem list | grep default:
132128
```
133129

134-
* `bigdecimal` (default: 1.4.1)
135-
* `bundler` (default: 1.17.2)
136-
* `cmath` (default: 1.0.0)
137-
* `csv` (default: 3.0.4)
138-
* `date` (default: 2.0.0)
139-
* `dbm` (default: 1.0.0)
140-
* `e2mmap` (default: 0.1.0)
141-
* `etc` (default: 1.0.1)
142-
* `fcntl` (default: 1.0.0)
143-
* `fiddle` (default: 1.0.0)
144-
* `fileutils` (default: 1.1.0)
145-
* `forwardable` (default: 1.2.0)
146-
* `gdbm` (default: 2.0.0)
147-
* `io-console` (default: 0.4.7)
148-
* `ipaddr` (default: 1.2.2)
149-
* `irb` (default: 1.0.0)
150-
* `json` (default: 2.1.0, 2.0.2)
151-
* `logger` (default: 1.3.0)
152-
* `matrix` (default: 0.1.0)
153-
* `mutex_m` (default: 0.1.0)
154-
* `openssl` (default: 2.1.2)
155-
* `ostruct` (default: 0.1.0)
156-
* `prime` (default: 0.1.0)
157-
* `psych` (default: 3.1.0)
158-
* `rdoc` (default: 6.1.0)
159-
* `rexml` (default: 3.1.9)
160-
* `rss` (default: 0.2.7)
161-
* `scanf` (default: 1.0.0)
162-
* `sdbm` (default: 1.0.0)
163-
* `shell` (default: 0.7)
164-
* `stringio` (default: 0.0.2)
165-
* `strscan` (default: 1.0.0)
166-
* `sync` (default: 0.5.0)
167-
* `thwait` (default: 0.1.0)
168-
* `tracer` (default: 0.1.0)
169-
* `webrick` (default: 1.4.2)
170-
* `zlib` (default: 1.0.0)
171-
172130
### Bundled gems
173131

132+
The list of bundled gems is available in MRI under `gems/bundled_gems`
174133
```
175-
gems/bundled_gems
134+
$ cat gems/bundled_gems
176135
```
177136

178137
* `did_you_mean` 1.3.0 (helper to suggest method names on method missing)

0 commit comments

Comments
 (0)