postgresql - recompiling database.yml file with gemfile? ruby on rails -
i'm new ruby on rails , postgresql , had question. database.yml file compiled when run bundle install on gemfile? gemfile had sqlite3, changed pg , tried run bundle install again recompile database.yml file, file still says it's using sqlite.
development: adapter: sqlite3 database: db/development.sqlite3 pool: 5 timeout: 5000 i want adapter switched postgresql , believe other fields should switched when using pg, i'm unsure. can clarify me, thank you.
no, database.yml not recompiled automatically. when change gem in gemfile, need change file:
development: adapter: postgresql database: dbname username: user password: password encoding: unicode
Comments
Post a Comment