ruby on rails - RailsTutorial Chap 6, Rake Aborted -


in railstutorial chap.6 when try migrate error:

macbook-pro-de-stephane-cedroni:sample_app stephanecedroni$ bundle exec rake db:migrate ==  addindextousersemail: migrating =========================================== -- add_index(:users, :email, {:unique=>true})    -> 0.0020s ==  addindextousersemail: migrated (0.0022s) ==================================  rake aborted! error has occurred, , later migrations canceled:  sqlite3::busyexception: database locked: commit transaction/users/stephanecedroni/.rvm/gems/ruby-1.9.3-p392/gems/sqlite3-1.3.5/lib/sqlite3/database.rb:97:in `close' 

has had same error? i'm not experimented, need help!

thanks

i had same problem.

i had open console window running "rails console --sandbox", prevented changes database. after closing window make migration.

maybe you!


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -