Я установил ruby и ruby-irb
Для IRB, apk add irb-pry
был ответ
тогда
irb
irb(main):00:0>
работает
Теперь я бы хотел, чтобы PRY работал.
Я установил драгоценный камень, но потом получил:
03:36:00 848c4ae29411 /
# gem install pry
Successfully installed pry-0.12.0
Parsing documentation for pry-0.12.0
Installing ri documentation for pry-0.12.0
Done installing documentation for pry after 2 seconds
1 gem installed
03:36:11 848c4ae29411 /
# pry
Traceback (most recent call last):
16: from /usr/bin/pry:23:in `<main>'
15: from /usr/bin/pry:23:in `load'
14: from /usr/lib/ruby/gems/2.5.0/gems/pry-0.12.0/bin/pry:4:in `<top (required)>'
13: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
12: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
11: from /usr/lib/ruby/gems/2.5.0/gems/pry-0.12.0/lib/pry.rb:110:in `<top (required)>'
10: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
9: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
8: from /usr/lib/ruby/gems/2.5.0/gems/pry-0.12.0/lib/pry/commands.rb:4:in `<top (required)>'
7: from /usr/lib/ruby/gems/2.5.0/gems/pry-0.12.0/lib/pry/commands.rb:4:in `each'
6: from /usr/lib/ruby/gems/2.5.0/gems/pry-0.12.0/lib/pry/commands.rb:5:in `block in <top (required)>'
5: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
4: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
3: from /usr/lib/ruby/gems/2.5.0/gems/pry-0.12.0/lib/pry/commands/gem_stats.rb:1:in `<top (required)>'
2: from /usr/lib/ruby/gems/2.5.0/gems/pry-0.12.0/lib/pry/commands/gem_stats.rb:2:in `<class:GemStat>'
1: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require': cannot load such file -- json (LoadError)