Sqlite connection problem

hello,

i’m trying to connect a sqlite database file but i get “Connection
refused” error…
my database.yml file is:

development:
adapter: sqlite
dbfile: db/mydb.db

what’s my fault?

Bahadır Doğan wrote:

hello,

i’m trying to connect a sqlite database file but i get “Connection
refused” error…
my database.yml file is:

development:
adapter: sqlite
dbfile: db/mydb.db

what’s my fault?

Changing “dbfile” to “database” should have you on your way.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs