I have a private repository on Github that I want to use. I deploy my app to Heroku. How can I specify a private repository as the source on my gemfile? I imagine it wouldn't be enough to simply say
gem "mygem", :git=>"my github address"
I have a private repository on Github that I want to use. I deploy my app to Heroku. How can I specify a private repository as the source on my gemfile? I imagine it wouldn't be enough to simply say
gem "mygem", :git=>"my github address"
~/.ssh
directory~/.ssh/id_rsa.pub
into https://github.com/MY_COMPANY/MY_GEM/settings/keysGemfile
use:gem 'mygem', github: 'MY_COMPANY/MY_GEM'
bundle install