Read env file SECRETS=IO.read('./.env').split(/\n/).map{|s| s.split(/=/)}.to_h Usage token: SECRETS['MY_SECRET_TOKEN']