Open a Terminal window and run “ruby script/console” and see if that
gives more meaningful output.
I had something similar recently. Couldn’t find any useful info in
any log file… The reason for me was that I changed the Locomotive
Rails Bundle and some gem was missing in the new bundle…
I just had the same problem. The error message is most uninformative.
I had an error in my code (a missing ‘end’ tag) and that was the
cause. Once I fixed that, Locomotive ran perfectly.
Open a Terminal window and run “ruby script/console” and see if that
gives more meaningful output.
Loading development environment.
articles = Article.find(:all)
=> []
Is this what I should expect? It recognizes the Article class, so I
assume
it loaded the development environment properly. Is this proof that it
was
able to access the database though?
I had something similar recently. Couldn’t find any useful info in
any log file… The reason for me was that I changed the Locomotive
Rails Bundle and some gem was missing in the new bundle…
I’m using the new Locomotive Rails 1.0 Max bundle. (Min is also
installed.)
I’m a newbie, so it must be something simple.