Hi, I’m trying to access .env variables in staging.rb.
I’m very new to Ruby and Capistrano, could someone give me a hint?
I’ve been reading, but don’t find the answer.
The reason why, is because I’m using capistrano-wpcli to push and pull database to staging server, not all developers have the same local domain name.
Edit:
I think I found what I needed:
I’ll give it a try.