ruby on rails - Figaro Environment Variables in Gemfile -
i'm trying set auth token gemfile access private git repo. i.e.
gem 'mygem', git: "https://env['github_auth_token']:x-oauth-basic@github.com/my_account/my_repo.git", tag: "0.0.1"
i can't work out how store in figaro make accessible bundle when run bundle install.
very similar this question
except rather having config/heroku_env.rb have config/application.yml file.
i'm sure answer ridiculously straightforward.
i'd keep in file keeps neatly in 1 place, if not can put somewhere specific long lines heroku nicely.
any ideas?
i think need run
figaro heroku:set -e production
for set set environment variables in config/application.yml file heroku environment variables.
Comments
Post a Comment