title: Rails: Locked DB? - SQLite3::BusyException:
body: <p>I keep getting the error message:</p>
  
  <pre><code>SQLite3::BusyException: database is locked: INSERT INTO "users" ("created_at", "email", "name", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?)
  </code></pre>
  
  <p>When I'm trying to execute the code:</p>
  
  <pre><code>@user = User.new(:name =&gt; "User1", :email =&gt; "email@gmail.com", :password =&gt; "password", :password_confirmation =&gt; "password")
  @user.save
  </code></pre>
  
  <p>Is there an issue with calling save after creating the user? Do I need a timeout? If so, how do I set one up/grab a database variable.</p>
  
  <p>I don't have a clue what is going wrong here. The User variable is being created just fine as I can output the attributes of the @user variable if I remove the save function. I would just assume that I'm doing something terribly wrong. I get that I shouldn't hard code a user, but I'm doing it for testing purposes.</p>
  
  <p>What is going on here?</p>
  
  <p>EDIT:</p>
  
  <p>I have tried to <code>drop</code> my database, but it is complaining that the sqlite3 files are missing. However, when I navigate to the exact path it complains about, the files are being listed under <code>ls</code>.</p>
  
  <p>I am assuming this is my problem. What does this mean?</p>