Rails Console Fails with 'Switch to Inspect Mode' in Windows

Unable to load rails c (error: Switch to inspect mode) from within the otherwise functional command line inside of the RubyMine Jetbrains IDE

RubyMine has a built-in way to do it: Tools | Run Rails Console...

Cannot access Rails console in Windows - LoadError

TL;DR use jirb in Command Prompt to execute Ruby code.

I never resolved making rails console work. This may have to do with my ruby installation being a part of jRuby.

However, irb and jirb allow me to execute Ruby snippets on the command line with either Command Prompt or Powershell. GitBash doesn't work, says Switch to inspect mode. followed by >> and then exits.



Related Topics



Leave a reply



Submit