JRuby Rails Console挂在“切换到检查模式”上

时间:2018-10-04 20:19:22

标签: ruby-on-rails jruby git-bash rails-console jrubyonrails

在Windows上的Git Bash中,jruby -S rails console在打印以下内容后挂起:

Loading development environment (Rails 4.2.8)
Switch to inspect mode.

当我按ctrl + c退出时,出现以下错误堆栈:

Errno::EBADF: Bad file descriptor - channel: org.jruby.util.io.ChannelFD@1eda12b3
gets at org/jruby/RubyIO.java:2233
gets at C:/jruby-9.1.12.0/lib/ruby/stdlib/irb/input-method.rb:61
block in eval_input at C:/jruby-9.1.12.0/lib/ruby/stdlib/irb.rb:469
...

什么是“检查模式”,以及如何切换到它?为什么Rails控制台在命令提示符下不能在Git Bash中工作?

0 个答案:

没有答案