code Text file busy - db/test.sqlite3 Sometimes things are just too obvious… When trying to setup the test database for my new rails app I kept getting stuck with this error message: <b>$ rake db:test:prepare</b> rake aborted! Text file busy - db/test.