Closed kiranmurali93 closed 3 months ago
@kiranmurali93 In my machine renaming the env example to .env or even env is not working I still have to do a source env
to get it pick the environment variables. Have you updated the database.yml by any chance ? Otherwise rails wouldn't pick the env file by default.
@kiranmurali93 In my machine renaming the env example to .env or even env is not working I still have to do a
source env
to get it pick the environment variables. Have you updated the database.yml by any chance ? Otherwise rails wouldn't pick the env file by default.
Yes I have modified the database.yml once while i was trying to figure out how to connect with the database in docker, but i reverted it back and tried it but i didnt have to use source env
.
if you have to run it every time you start the local server may be i could update the pr to have
source env && bin/dev
as the server start command in the docs
yea you can do that
Corrected the copy config file