Last active
June 22, 2017 15:35
-
-
Save Evanto/aeceb4c0af82c229b3d376827876b281 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ubuntu@rails-dev-box:~/www/qna$ bundle | |
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' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
У тебя проблема на в гемах, а в git. Что-то с правами случилось. Попробуй то, что написано в ошибке: | |
If this error persists you could try removing the cache directory '/home/ubuntu/.bundle/cache/git/shoulda-matchers-e04e9ade87805b3667f97d976fd84556605e66f8' | |
ubuntu@rails-dev-box:~$ ls -la | |
total 52 | |
drwxr-xr-x 8 ubuntu ubuntu 4096 May 27 18:00 . | |
drwxr-xr-x 3 root root 4096 May 7 10:41 .. | |
-rw------- 1 ubuntu ubuntu 2742 Jun 19 20:56 .bash_history | |
-rw-r--r-- 1 ubuntu ubuntu 220 Jun 24 2016 .bash_logout | |
-rw-r--r-- 1 ubuntu ubuntu 3771 Jun 24 2016 .bashrc | |
drwxrwxr-x 4 ubuntu ubuntu 4096 May 17 13:12 .bundle | |
drwx------ 2 ubuntu ubuntu 4096 May 7 10:41 .cache | |
drwxrwxr-x 4 ubuntu ubuntu 4096 May 8 12:42 .gem | |
drwx------ 3 ubuntu ubuntu 4096 May 27 18:00 .mozilla | |
-rw-r--r-- 1 ubuntu ubuntu 655 Jun 24 2016 .profile | |
-rw------- 1 ubuntu ubuntu 6 May 17 12:41 .psql_history | |
drwx------ 2 ubuntu ubuntu 4096 May 7 10:41 .ssh | |
-rw-r--r-- 1 ubuntu ubuntu 0 May 7 10:41 .sudo_as_admin_successful | |
drwxrwxr-x 1 ubuntu ubuntu 4096 May 17 12:26 www | |
ubuntu@rails-dev-box:~$ cd .bundle/ | |
ubuntu@rails-dev-box:~/.bundle$ ls | |
cache ruby | |
ubuntu@rails-dev-box:~/.bundle$ cd cache/ | |
ubuntu@rails-dev-box:~/.bundle/cache$ ls | |
compact_index git | |
ubuntu@rails-dev-box:~/.bundle/cache$ cd git/ | |
ubuntu@rails-dev-box:~/.bundle/cache/git$ ls | |
shoulda-matchers-e04e9ade87805b3667f97d976fd84556605e66f8 | |
ubuntu@rails-dev-box:~/.bundle/cache/git$ rm shoulda-matchers-e04e9ade87805b3667f97d976fd84556605e66f8/ | |
rm: cannot remove 'shoulda-matchers-e04e9ade87805b3667f97d976fd84556605e66f8/': Is a directory | |
ubuntu@rails-dev-box:~/.bundle/cache/git$ ls | |
shoulda-matchers-e04e9ade87805b3667f97d976fd84556605e66f8 | |
ubuntu@rails-dev-box:~/.bundle/cache/git$ rm -rf shoulda-matchers-e04e9ade87805b3667f97d976fd84556605e66f8/ | |
ubuntu@rails-dev-box:~/.bundle/cache/git$ ls | |
ubuntu@rails-dev-box:~/.bundle/cache/git$ man rm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment