在 Ubuntu(13.04) 上退出 RI 的正确组合是什么?
例如,以下行:
ri GC::enable
给我:
按以下命令什么都不做:PAUSE/BREAK、Home、End、Ctrl+Shift+D
唯一存在的是ctrl+c但它会引发如下错误:
来自 /home/gotqn/.rvm/gems/ruby-2.0.0-p247/gems/rdoc-4.0.1/lib/rdoc/ri/driver.rb:774:in
display_class' from /home/gotqn/.rvm/gems/ruby-2.0.0-p247/gems/rdoc-4.0.1/lib/rdoc/ri/driver.rb:800:in
display_name' 来自 /home/gotqn/.rvm /gems/ruby-2.0.0-p247/gems/rdoc-4.0.1/lib/rdoc/ri/driver.rb:827:inblock in display_names' from /home/gotqn/.rvm/gems/ruby-2.0.0-p247/gems/rdoc-4.0.1/lib/rdoc/ri/driver.rb:824:in
each' from /home/gotqn/.rvm/gems/ruby-2.0.0 -p247/gems/rdoc-4.0.1/lib/rdoc/ri/driver.rb:824:indisplay_names' from /home/gotqn/.rvm/gems/ruby-2.0.0-p247/gems/rdoc-4.0.1/lib/rdoc/ri/driver.rb:1361:in
run' from /home/gotqn/.rvm/gems/ruby-2.0.0-p247/gems/rdoc-4.0 .1/lib/rdoc/ri/driver.rb:356:inrun' from /home/gotqn/.rvm/gems/ruby-2.0.0-p247/gems/rdoc-4.0.1/bin/ri:12:in
'来自 /home/gotqn/.rvm/gems/ruby-2.0.0-p247/bin/ri:23:inload' from /home/gotqn/.rvm/gems/ruby-2.0.0-p247/bin/ri:23:in
'来自 /home/gotqn/ .rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:ineval' from /home/gotqn/.rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:in
'
还有更多,即使似乎 RI 已停止,但按任何键都会再次给我这个: