Closed numeroteca closed 11 years ago
It was trying to run the rake task in development mode, against the (non-used) development database. You have to tell rake to run in production mode. something like this:
rake blah blah blah RAILS_ENV=production
That will load the rails production config and use the production database.
I updated the csv of newspapers following the instructions https://github.com/numeroteca/pageonex/wiki#how-to-update-the-list-of-newspapers-available-from-kioskonet
It worked in /dev (sqlite database), but in /production I get the following error
Have the database tables different names?