Rails console - process terminated with exit code 0

Cannot start the rail console. When I try to run it, I have this message:

Loading development environment (Rails 3.2.12) Process finished with exit code 0 

It comes out without errors. But the rails server starts without problems:

 => Booting WEBrick => Rails 3.2.12 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server [2013-04-26 02:23:44] INFO WEBrick 1.3.1 [2013-04-26 02:23:44] INFO ruby 1.9.3 (2013-02-22) [x86_64-darwin12.2.0] [2013-04-26 02:23:44] INFO WEBrick::HTTPServer#start: pid=2393 port=3000 

I am running Mac OS X with rvm. Why does the rail console not work?

+4
source share
2 answers

If you are using RVM, try making rvm implode and reinstall Ruby and Rails.

+1
source

Have you tried the exec package?

 bundle exec rails c 
+3
source

All Articles