Try adding a “db/” in front of all those database files. E.g.
database: db/depot_development.sdb
I’ll try that when I get home, thanks. I was kind of worried about the
“.sdb” extension because all the examples I’ve seen have .db or .sqlite3
or whatever. It’s just the file that SQLiteManager created. Since you
didn’t mention it I’m guessing it’s okay…
Hello,
with sqlite3 you have to write:
development:
adapter: sqlite3
dbfile: depot_development.sdb
Spot the difference between “database” and “dbfile”
Sorry I forgot to put write folder name. So,
“dbfile: depot_development.sdb” should become “dbfile:
db/depot_development.sdb”. Assuming that your db file is in rails db
directory.
Sorry I forgot to put write folder name. So,
“dbfile: depot_development.sdb” should become “dbfile:
db/depot_development.sdb”. Assuming that your db file is in rails db
directory.
Hmm, doesn’t seem to work still. It’s generating the same stuff as in
the first post. database.yml currently has
Only unlike these guys, I’m using SQLite, not MySQL. I’m determined to
make it work on SQLite, but I am completely lost. So early in my first
Rails tutorial too…
I never imagined rails would be this hard just to get to work. I’m
finding python a hell of a lot easier, especially with the bigger
support community. Thanks for your help anyway.
Oakes
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.