Skip to content

Instantly share code, notes, and snippets.

@Evanto
Created July 24, 2017 11:58
Show Gist options
  • Save Evanto/57a3a0f4abcbc8c94ee5e0bc613d37a9 to your computer and use it in GitHub Desktop.
Save Evanto/57a3a0f4abcbc8c94ee5e0bc613d37a9 to your computer and use it in GitHub Desktop.
ubuntu@rails-dev-box:~/www/qna$ bundle install
error: cannot open .git/FETCH_HEAD: Permission denied
Retrying `git fetch --force --quiet --tags "/home/ubuntu/.bundle/cache/git/shoulda-matchers-e04e9ade87805b3667f97d976fd84556605e66f8"` due to error (2/4): Bundler::Source::Git::GitCommandError Git error: command `git fetch --force --quiet --tags "/home/ubuntu/.bundle/cache/git/shoulda-matchers-e04e9ade87805b3667f97d976fd84556605e66f8"` in directory /var/lib/gems/2.4.0/bundler/gems/shoulda-matchers-ead87017a6c1 has failed.
If this error persists you could try removing the cache directory '/home/ubuntu/.bundle/cache/git/shoulda-matchers-e04e9ade87805b3667f97d976fd84556605e66f8'error: cannot open .git/FETCH_HEAD: Permission denied
Retrying `git fetch --force --quiet --tags "/home/ubuntu/.bundle/cache/git/shoulda-matchers-e04e9ade87805b3667f97d976fd84556605e66f8"` due to error (3/4): Bundler::Source::Git::GitCommandError Git error: command `git fetch --force --quiet --tags "/home/ubuntu/.bundle/cache/git/shoulda-matchers-e04e9ade87805b3667f97d976fd84556605e66f8"` in directory /var/lib/gems/2.4.0/bundler/gems/shoulda-matchers-ead87017a6c1 has failed.
If this error persists you could try removing the cache directory '/home/ubuntu/.bundle/cache/git/shoulda-matchers-e04e9ade87805b3667f97d976fd84556605e66f8'error: cannot open .git/FETCH_HEAD: Permission denied
Retrying `git fetch --force --quiet --tags "/home/ubuntu/.bundle/cache/git/shoulda-matchers-e04e9ade87805b3667f97d976fd84556605e66f8"` due to error (4/4): Bundler::Source::Git::GitCommandError Git error: command `git fetch --force --quiet --tags "/home/ubuntu/.bundle/cache/git/shoulda-matchers-e04e9ade87805b3667f97d976fd84556605e66f8"` in directory /var/lib/gems/2.4.0/bundler/gems/shoulda-matchers-ead87017a6c1 has failed.
If this error persists you could try removing the cache directory '/home/ubuntu/.bundle/cache/git/shoulda-matchers-e04e9ade87805b3667f97d976fd84556605e66f8'error: cannot open .git/FETCH_HEAD: Permission denied
Git error: command `git fetch --force --quiet --tags
"/home/ubuntu/.bundle/cache/git/shoulda-matchers-e04e9ade87805b3667f97d976fd84556605e66f8"`
in directory /var/lib/gems/2.4.0/bundler/gems/shoulda-matchers-ead87017a6c1 has
failed.
If this error persists you could try removing the cache directory
'/home/ubuntu/.bundle/cache/git/shoulda-matchers-e04e9ade87805b3667f97d976fd84556605e66f8'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment