This project is archived and is in readonly mode.

#1789 ✓resolved
Paco Benavent

db:drop fails when adapter is sqlite3 and database is an absolute path

Reported by Paco Benavent | January 22nd, 2009 @ 01:26 PM | in 2.x

example: adapter: sqlite3 database: /home/user/db/database.sqlite3

I think the problem resides in method 'drop_database' http://github.com/rails/rails/bl...

because of the File.join with RAILS_ROOT

As we are executing the rake task from the rails app directory, I think this join is not necessary because it'll work both with relative and absolute paths.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Referenced by

Pages