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
Naming Conventions for Boolean Attributes
How to Jump from Do to End of a Ruby Block Using Vim
Determining Whether One Array Contains the Contents of Another Array in Ruby
What Purpose Can Anonymous Modules Serve
Find Out Which Gems Require Native C Extensions from a Gemfile
Deadlock Detected with Capybara-Webkit
Date Range Facets with Sunspot in Ruby on Rails
Can Multiple Sidekiq Instances Process The Same Queue
Get Available Diskspace in Ruby
How to Get Class-Object from String "A::B::C" in Ruby
Error While Installing Ruby 1.9.3
Linux Cli: How to Render Arabic Text into Bitmap
How to Read from Redis Inside a Multi Block in Ruby