I have a rails app (Radiant CMS) that I installed. I setup the db for
the production instance of the database (script/setup-database
production)
I started the application as “script/server production” but the
application errors out with a table not found error. The application
was pointed to the development db instance. I thought that
“script/server production” would use the production db, and
“script/server development” would run against the development db
instance and so on.
Anyway, I got around this by setting up the development instance of the
db (script/setup-database development), but I am confused why running
“script/server production” would use a development environment.
Thanks for answering a beginners question.
Phillip