ruby on rails - SQLite3:CantOpenException (uanble to open database file) -


I have FreeBSD setup with Apache 2 and passenger to test things by using a new test_app of standard rail When I try to access the site through Apache, I get an error in the above title in product.log, if I run a Rail Server from test_app directory then it works fine.

I can not even access a database to look at just one controller and app in just one home controller and index view.

Any help is appreciated.

In Apache, it is running in production mode versus development mode while running. You probably have incorrect information in your database. IML, or the Rack DB has not been run: Create yet Check your config / database.yml and make sure that the settings under production are correct, and if so Run rake db: make and rake db: migrate

Comments