Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

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

#1789

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.

Reported by Paco Benavent · January 22nd, 2009 @ 01:26 PM

State: resolved
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Sebastian Gräßl
    Sebastian Gräßl
    • Tag changed from db:drop, railties, rake, sqlite3 to db:drop, patch, railties, rake, sqlite3

    i made a fix for this.

    May 12th, 2009 @ 08:05 PM

  2. Repository
    Repository
    • State changed from new to resolved

    August 9th, 2009 @ 05:26 AM