views:

38

answers:

2

I am on Ubuntu10. Create new db file with

touch development.db

Want my migrations

rake db:migrate

but get locked error

SQLite3::BusyException: database is locked

How it can be locked?!


update it can be locked by samba. it's shared folder

A: 

You should try rake db:create instead of touch. This always works for me. Maybe there's a problem with the migrations itself?

hurikhan77
i have no db:create..i use http://github.com/bmizerany/sinatra-activerecord
lublushokolad
migrations are ok.. i've tried them on win7. everything was normal
lublushokolad