I am attempting to learn how to use the rails console to help troubleshoot my rails app. However, the "Run IRB Console" and "Run Rails Console" are both grayed out within Rubymine, making it so I can't click them. Does anyone know why this is the case?
Asked
Active
Viewed 2,658 times
2 Answers
0
Try installing Ruby and Rails using RVM if you are in Ubuntu and if you are in Windows, Download Ruby and necessary Devkit and then from command prompt, install rails, and then try rails console option, if it works in the Terminal/cmd, it should work in RubyMine too.

ajknzhol
- 6,322
- 13
- 45
- 72
-
I'm using a mac with the latest OS, and I did install ruby using the RVM. What is the rails console command I would type in terminal to test it? It sounds like perhaps I didn't install some necessary functionality for the rails console to operate correctly, from what you are saying. – Luigi Oct 03 '13 at 17:39
-
`rails console` works from the terminal, if that is the command we are talking about. – Luigi Oct 03 '13 at 17:49
-
Whats the output of the Rails c in the Terminal. – ajknzhol Oct 04 '13 at 03:33
0
Make sure Rubymine is aware of your ruby and your gemset. You can specify these things in the settings page "Ruby SDK and Gems" in your RubyMine project settings.

Pelle
- 6,423
- 4
- 33
- 50