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

StackOverflow https://stackoverflow.com//questions/10659076

Pregunta

EDIT: The question is, how to I "switch to inspect mode"?

Through the "External Tools" function within the RubyMine Jetbrains IDE (file, settings, external tools), I have cleverly added a command line to my jetbrains ide. This cmd (I'm using Vista) tool works for all commands, including rails generate and rake commands, but when I try "rails c", well, here's what it looks like:

C:\Users\davo\Desktop\RailsProjects\simple_cms>rake db:migrate
rake db:migrate
==  CreateAdminUsersPagesJoin: migrating ======================================
-- create_table(:admin_users_pages, {:id=>false})
   -> 0.5620s
-- add_index(:admin_users_pages, ["admin_user_id", "page_id"])
   -> 0.2740s
==  CreateAdminUsersPagesJoin: migrated (0.8360s) =============================


C:\Users\davo\Desktop\RailsProjects\simple_cms>rails c
rails c
Loading development environment (Rails 3.2.3)
Switch to inspect mode.

That's all inside of the jetbrains "custom console". As you can see I was able to do a rake command in there.

I've googled "switch to inspect mode" and wasn't able to find anything very helpful.

¿Fue útil?

Solución

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top