Rails development log not updating
We can now access the default start page at localhost:3000.It’s not a very useful app, but it’ll do for our purpose.If I start an clean Ubuntu 12.04 container, install the app and run tests, I get the migration error talked about above.If I inspect this container I can see that according to the [email protected]:/Master Root24/acrm# bundle exec rake db:drop db:test:prepare Dropped database 'db/development.sqlite3' Dropped database 'db/test.sqlite3' [email protected]:/Master Root24/acrm# sqlite3 db/test.sqlite3 SQLite version 3.7.9 2011-11-01 Enter ".help" for instructions Enter SQL statements terminated with a ";" sqlite [email protected]:/Master Root24/acrm# ls -lh db/migrate/ total 28K -rw-r--r-- 1 root root 184 Nov 7 20161025140025_create_-rw-r--r-- 1 root root 221 Nov 7 20161025200827_create_-rw-r--r-- 1 root root 125 Nov 7 20161027093255_add_address_to_-rw-r--r-- 1 root root 247 Nov 7 20161027212018_create_-rw-r--r-- 1 root root 204 Nov 7 20161027213002_create_-rw-r--r-- 1 root root 202 Nov 7 20161028125610_create_-rw-r--r-- 1 root root 134 Nov 7 20161029141219_add_password_digest_to_This is all on Ubuntu 12.04, using the latest version of SQLite available for that OS, which is 3.7.9.
5d81376 passes: https://travis-ci.org/Master Root24/rails-travis-migration-issue-demo-app/builds/172434742 3f2355d fails: https://travis-ci.org/Master Root24/rails-travis-migration-issue-demo-app/builds/172435724 Again, both commits ( Here's a demo app that shows the issue: https://github.com/Master Root24/rails-travis-migration-issue-demo-app.
' If I do the same locally on mac OS 10.12 or in Debian Jessie, tests pass and I am not asked to run a manual migration.
Why would I need to run a manual migration under Ubuntu 12.04, but not under any other OS?
As we prepare our new Docker-based infrastructure for running your tests, we’d like to show you how you can use the same environment for development as well.
Feel free to follow along as I demonstrate how to move a simple Rails applications into Docker during development.