Skip to content

Instantly share code, notes, and snippets.

@zstumgoren
Last active July 28, 2017 21:17
Show Gist options
  • Save zstumgoren/3a63d0183ae05e27a5ef15dd82ba6bf5 to your computer and use it in GitHub Desktop.
Save zstumgoren/3a63d0183ae05e27a5ef15dd82ba6bf5 to your computer and use it in GitHub Desktop.
bundler error when installing Fech from source
### Gemfile ###
cd ~/test
less Gemfile
source 'https://rubygems.org'
gem 'fech', git: 'https://github.com/NYTimes/Fech.git', :tag => 'v1.8', :submodules => true
#### CLI output ####
# Below run by a user with no ssh keys
~/test$ bundle
Fetching https://github.com/NYTimes/Fech.git
Cloning into 'sources'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:dwillis/fech-sources.git' into submodule path 'sources' failed
Retrying `git submodule update --init --recursive` due to error (2/4): Bundler::Source::Git::GitCommandError Git error: command `git submodule update --init --recursive` in directory /home/stumgoren/.rvm/gems/ruby-2.3.1/bundler/gems/Fech-827e7a308ae9 has failed.
If this error persists you could try removing the cache directory '/home/stumgoren/.rvm/gems/ruby-2.3.1/cache/bundler/git/Fech-df94fbbdb98e36d93543cb3671d80054ae3dfdbd'Cloning into 'sources'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:dwillis/fech-sources.git' into submodule path 'sources' failed
Retrying `git submodule update --init --recursive` due to error (3/4): Bundler::Source::Git::GitCommandError Git error: command `git submodule update --init --recursive` in directory /home/stumgoren/.rvm/gems/ruby-2.3.1/bundler/gems/Fech-827e7a308ae9 has failed.
If this error persists you could try removing the cache directory '/home/stumgoren/.rvm/gems/ruby-2.3.1/cache/bundler/git/Fech-df94fbbdb98e36d93543cb3671d80054ae3dfdbd'Cloning into 'sources'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:dwillis/fech-sources.git' into submodule path 'sources' failed
Retrying `git submodule update --init --recursive` due to error (4/4): Bundler::Source::Git::GitCommandError Git error: command `git submodule update --init --recursive` in directory /home/stumgoren/.rvm/gems/ruby-2.3.1/bundler/gems/Fech-827e7a308ae9 has failed.
If this error persists you could try removing the cache directory '/home/stumgoren/.rvm/gems/ruby-2.3.1/cache/bundler/git/Fech-df94fbbdb98e36d93543cb3671d80054ae3dfdbd'Cloning into 'sources'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:dwillis/fech-sources.git' into submodule path 'sources' failed
Git error: command `git submodule update --init --recursive` in directory /home/stumgoren/.rvm/gems/ruby-2.3.1/bundler/gems/Fech-827e7a308ae9 has failed.
If this error persists you could try removing the cache directory '/home/stumgoren/.rvm/gems/ruby-2.3.1/cache/bundler/git/Fech-df94fbbdb98e36d93543cb3671d80054ae3dfdbd'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment