File tree Expand file tree Collapse file tree 1 file changed +6
-35
lines changed
Expand file tree Collapse file tree 1 file changed +6
-35
lines changed Original file line number Diff line number Diff line change @@ -27,41 +27,12 @@ jobs:
2727 run : |
2828 ruby -e '
2929 exit if "${{ matrix.ruby }}" != "ucrt" && "${{ matrix.ruby }}" != "mswin"
30- # bundled_gems = Dir.glob("D:/ruby-${{ matrix.ruby }}/lib/ruby/gems/*/cache/*.gem")
31- # .map { |path| File.basename(path, ".gem")[/^(.+)-[^-]+$/, 1] }
32- bundled_gems = %w[
33- abbrev
34- base64
35- bigdecimal
36- csv
37- debug
38- drb
39- getoptlong
40- matrix
41- minitest
42- mutex_m
43- net-ftp
44- net-imap
45- net-pop
46- net-smtp
47- net-telnet
48- nkf
49- observer
50- prime
51- power_assert
52- racc
53- rake
54- rbs
55- repl_type_completor
56- resolv-replace
57- rexml
58- rinda
59- rss
60- test-unit
61- syslog
62- typeprof
63- xmlrpc
64- ]
30+
31+ require "open-uri"
32+ require "json"
33+
34+ res = URI.parse('https://stdgems.org/bundled_gems.json').read
35+ bundled_gems = JSON.parse(res)['gems'].map{_1['gem']}
6536 system "gem uninstall #{bundled_gems.join(" ")}", exception: true
6637 '
6738 - name : bundle install
You can’t perform that action at this time.
0 commit comments