【发布时间】:2017-02-23 10:02:37
【问题描述】:
在 Michael Hartl 的 Rails 教程第 2.3.3 节(用户 has_many 微博)中,当我在 Git Bash 中输入 rails console 时:
$ rails console
Loading development environment (Rails 5.0.0.1)
Switch to inspect mode.
它在Switch to inspect mode. 冻结,直到我输入 Ctrl-C。
我浏览了一些类似/以前的问题,但没有找到我正在寻找的解决方案:
-
ruby on rails console isn't working, I am getting"Switch to inspect mode" on windows(在我运行
$ irb后仍然导致Switch to inspect mode.) - Unable to load "rails c" (error: "Switch to inspect mode") from within the otherwise functional command line inside of the RubyMine Jetbrains IDE(我使用 Git Bash 和 Sublime Text 的组合而不是 IDE,例如 RubyMine)
- When I run Rails Console it says "Switch to inspect mode"(此问题目前没有答案或最佳答案)
因此,如何绕过Switch to inspect mode. 访问rails console?
导轨:5.0.0.1
Rails 教程:第 4 版
Git for Windows:2.9.0.windows.1
操作系统:Windows 7 32 位 Ultimate Service Pack 1
【问题讨论】:
标签: ruby-on-rails windows railstutorial.org git-bash