質問編集履歴
2
あ
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
(再投稿)Homebrewのインストールについて
|
1
|
+
あ(再投稿)Homebrewのインストールについて
|
body
CHANGED
@@ -3,138 +3,57 @@
|
|
3
3
|
|
4
4
|
とても疲れました。笑
|
5
5
|
前回の質問の投稿でHomebrewがおかしいことが発覚したので再インストールをするつもりでした。
|
6
|
+
brew updateが使えたのでHomebrewは入っているはずなのですが
|
6
|
-
|
7
|
+
brew install ほにゃらら
|
7
|
-
|
8
|
+
すると
|
9
|
+
下記のコマンドが
|
8
10
|
```
|
9
|
-
Are you sure you want to uninstall Homebrew? [y/N] ==> Removing Homebrew installation...
|
10
|
-
==> Removing empty directories...
|
11
|
-
==> /usr/bin/sudo /usr/bin/find /usr/local/Cellar /usr/local/Homebrew /usr/local/Frameworks /usr/local/bin /usr/local/etc /usr/local/include /usr/local/lib /usr/local/opt /usr/local/sbin /usr/local/share /usr/local/var -name .DS_Store -delete
|
12
|
-
Password:
|
13
|
-
==> /usr/bin/sudo /usr/bin/find /usr/local/Cellar /usr/local/Homebrew /usr/local/Frameworks /usr/local/bin /usr/local/etc /usr/local/include /usr/local/lib /usr/local/opt /usr/local/sbin /usr/local/share /usr/local/var -depth -type d -empty -exec rmdir {} ;
|
14
|
-
==> Homebrew uninstalled!
|
15
|
-
The following possible Homebrew files were not deleted:
|
16
|
-
/usr/local/.git/
|
17
|
-
/usr/local/.github/
|
18
|
-
/usr/local/.gitignore
|
19
|
-
/usr/local/.travis.yml
|
20
|
-
/usr/local/.yardopts
|
21
|
-
/usr/local/bin/
|
22
|
-
/usr/local/CODEOFCONDUCT.md
|
23
|
-
/usr/local/etc/
|
24
|
-
/usr/local/Homebrew/
|
25
|
-
/usr/local/lib/
|
26
|
-
/usr/local/Library/
|
27
|
-
/usr/local/LICENSE.txt
|
28
|
-
/usr/local/README.md
|
29
|
-
/usr/local/share/
|
30
|
-
/usr/local/shere/
|
31
|
-
/usr/local/var/
|
32
|
-
You may wish to remove them yourself.
|
33
|
-
-e:312:in `<main>': undefined local variable or method `usr' for main:Object (NameError)
|
34
|
-
```
|
35
|
-
と表示されインストールコマンドを打つと
|
36
|
-
|
37
|
-
```
|
38
|
-
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
|
39
|
-
HEAD is now at 63b2eb9 Merge pull request #2698 from reitermarkus/operator-style
|
40
11
|
/usr/local/Homebrew/Library/Homebrew/PATH.rb:71:in `split': invalid byte sequence in UTF-8 (ArgumentError)
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
Failed during: /usr/local/bin/brew update --force
|
86
|
-
pck14044kk:~ k14044kk$ brew update --force
|
87
|
-
/usr/local/Homebrew/Library/Homebrew/PATH.rb:71:in `split': invalid byte sequence in UTF-8 (ArgumentError)
|
88
|
-
from /usr/local/Homebrew/Library/Homebrew/PATH.rb:71:in `block in parse'
|
89
|
-
from /usr/local/Homebrew/Library/Homebrew/PATH.rb:71:in `each'
|
90
|
-
from /usr/local/Homebrew/Library/Homebrew/PATH.rb:71:in `flat_map'
|
91
|
-
from /usr/local/Homebrew/Library/Homebrew/PATH.rb:71:in `parse'
|
92
|
-
from /usr/local/Homebrew/Library/Homebrew/PATH.rb:8:in `initialize'
|
93
|
-
from /usr/local/Homebrew/Library/Homebrew/utils.rb:310:in `new'
|
94
|
-
from /usr/local/Homebrew/Library/Homebrew/utils.rb:310:in `which_all'
|
95
|
-
from /usr/local/Homebrew/Library/Homebrew/gpg.rb:5:in `find_gpg'
|
96
|
-
from /usr/local/Homebrew/Library/Homebrew/gpg.rb:20:in `gpg2'
|
97
|
-
from /usr/local/Homebrew/Library/Homebrew/gpg.rb:23:in `<class:Gpg>'
|
98
|
-
from /usr/local/Homebrew/Library/Homebrew/gpg.rb:3:in `<top (required)>'
|
99
|
-
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
100
|
-
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
101
|
-
from /usr/local/Homebrew/Library/Homebrew/requirements/gpg2_requirement.rb:2:in `<top (required)>'
|
102
|
-
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
103
|
-
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
104
|
-
from /usr/local/Homebrew/Library/Homebrew/requirements.rb:3:in `<top (required)>'
|
105
|
-
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
106
|
-
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
107
|
-
from /usr/local/Homebrew/Library/Homebrew/dependency_collector.rb:5:in `<top (required)>'
|
108
|
-
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
109
|
-
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
110
|
-
from /usr/local/Homebrew/Library/Homebrew/software_spec.rb:7:in `<top (required)>'
|
111
|
-
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
112
|
-
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
113
|
-
from /usr/local/Homebrew/Library/Homebrew/formula.rb:10:in `<top (required)>'
|
114
|
-
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
115
|
-
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
116
|
-
from /usr/local/Homebrew/Library/Homebrew/readall.rb:1:in `<top (required)>'
|
117
|
-
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
118
|
-
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
119
|
-
from /usr/local/Homebrew/Library/Homebrew/tap.rb:2:in `<top (required)>'
|
120
|
-
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
121
|
-
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
122
|
-
from /usr/local/Homebrew/Library/Homebrew/compat/tap.rb:1:in `<top (required)>'
|
123
|
-
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
124
|
-
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
125
|
-
from /usr/local/Homebrew/Library/Homebrew/compat.rb:2:in `<top (required)>'
|
126
|
-
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
127
|
-
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
128
|
-
from /usr/local/Homebrew/Library/Homebrew/global.rb:56:in `<top (required)>'
|
129
|
-
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
130
|
-
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
131
|
-
from /usr/local/Homebrew/Library/Homebrew/brew.rb:14:in `<main>'
|
12
|
+
from /usr/local/Homebrew/Library/Homebrew/PATH.rb:71:in `block in parse'
|
13
|
+
from /usr/local/Homebrew/Library/Homebrew/PATH.rb:71:in `each'
|
14
|
+
from /usr/local/Homebrew/Library/Homebrew/PATH.rb:71:in `flat_map'
|
15
|
+
from /usr/local/Homebrew/Library/Homebrew/PATH.rb:71:in `parse'
|
16
|
+
from /usr/local/Homebrew/Library/Homebrew/PATH.rb:8:in `initialize'
|
17
|
+
from /usr/local/Homebrew/Library/Homebrew/utils.rb:310:in `new'
|
18
|
+
from /usr/local/Homebrew/Library/Homebrew/utils.rb:310:in `which_all'
|
19
|
+
from /usr/local/Homebrew/Library/Homebrew/gpg.rb:5:in `find_gpg'
|
20
|
+
from /usr/local/Homebrew/Library/Homebrew/gpg.rb:20:in `gpg2'
|
21
|
+
from /usr/local/Homebrew/Library/Homebrew/gpg.rb:23:in `<class:Gpg>'
|
22
|
+
from /usr/local/Homebrew/Library/Homebrew/gpg.rb:3:in `<top (required)>'
|
23
|
+
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
24
|
+
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
25
|
+
from /usr/local/Homebrew/Library/Homebrew/requirements/gpg2_requirement.rb:2:in `<top (required)>'
|
26
|
+
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
27
|
+
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
28
|
+
from /usr/local/Homebrew/Library/Homebrew/requirements.rb:3:in `<top (required)>'
|
29
|
+
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
30
|
+
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
31
|
+
from /usr/local/Homebrew/Library/Homebrew/dependency_collector.rb:5:in `<top (required)>'
|
32
|
+
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
33
|
+
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
34
|
+
from /usr/local/Homebrew/Library/Homebrew/software_spec.rb:7:in `<top (required)>'
|
35
|
+
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
36
|
+
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
37
|
+
from /usr/local/Homebrew/Library/Homebrew/formula.rb:10:in `<top (required)>'
|
38
|
+
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
39
|
+
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
40
|
+
from /usr/local/Homebrew/Library/Homebrew/readall.rb:1:in `<top (required)>'
|
41
|
+
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
42
|
+
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
43
|
+
from /usr/local/Homebrew/Library/Homebrew/tap.rb:2:in `<top (required)>'
|
44
|
+
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
45
|
+
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
46
|
+
from /usr/local/Homebrew/Library/Homebrew/compat/tap.rb:1:in `<top (required)>'
|
47
|
+
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
48
|
+
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
49
|
+
from /usr/local/Homebrew/Library/Homebrew/compat.rb:2:in `<top (required)>'
|
50
|
+
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
51
|
+
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
52
|
+
from /usr/local/Homebrew/Library/Homebrew/global.rb:56:in `<top (required)>'
|
53
|
+
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
54
|
+
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
|
55
|
+
from /usr/local/Homebrew/Library/Homebrew/brew.rb:14:in `<main>'
|
132
56
|
```
|
133
|
-
再びアンインストールコマンドを打つと
|
134
57
|
|
135
|
-
```
|
136
|
-
/Users/k14044kk/.rbenv/shims/ruby: line 21: /usr/local/Cellar/rbenv/1.1.0/libexec/rbenv: No such file or directory
|
137
|
-
```
|
138
|
-
アンインストールもインストールもできない状況です。助けてください。
|
139
58
|
追記:ターミナルでrubyコマンドを打ってもずっと反応がないです。確実におかしいのですがどこで異常を確認できますか?
|
140
59
|
brewコマンドはbrew update以外doctorも含めて上記のエラーがでます。
|
1
あ
title
CHANGED
File without changes
|
body
CHANGED
@@ -136,4 +136,5 @@
|
|
136
136
|
/Users/k14044kk/.rbenv/shims/ruby: line 21: /usr/local/Cellar/rbenv/1.1.0/libexec/rbenv: No such file or directory
|
137
137
|
```
|
138
138
|
アンインストールもインストールもできない状況です。助けてください。
|
139
|
-
追記:ターミナルでrubyコマンドを打ってもずっと反応がないです。確実におかしいのですがどこで異常を確認できますか?
|
139
|
+
追記:ターミナルでrubyコマンドを打ってもずっと反応がないです。確実におかしいのですがどこで異常を確認できますか?
|
140
|
+
brewコマンドはbrew update以外doctorも含めて上記のエラーがでます。
|