Example of output:
Fetching gem metadata from https://rubygems.org/...... Fetching gem metadata from https://rubygems.org/.. Fetching email@example.com:username/repo.git Warning: Permanently added 'github.com,22.214.171.124' (RSA) to the list of known hosts. Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Git error: command `git clone 'firstname.lastname@example.org:username/repo.git' "/home/runner/1234567890/vendor/bundle/ruby/1.9.1/cache/bundler/git/repo-7154ad9a69a3675cd199759326aafba479a5fcd3" --bare --no-hardlinks` in directory /home/runner/1234567890 has failed.
Make sure that your Gemfile is referencing a repository with a public, read-only URL and not with a private SSH URL which requires presence of your personal SSH key.
This is good:
gem "rails-settings", :git => "https://github.com/renderedtext/rails-settings.git"
This won't work (unless you insert a working SSH key into the build environment, which is not necessary unless it's a private repository):
gem "rails-settings", :git => "email@example.com:renderedtext/rails-settings.git"
Semaphore Docs are open source — Edit on GitHub