質問編集履歴

2

一つ忘れていました

2016/09/17 02:26

投稿

drizzing20
drizzing20

スコア363

test CHANGED
File without changes
test CHANGED
@@ -213,3 +213,71 @@
213
213
  Make sure that `gem install bcrypt -v '3.1.11'` succeeds before bundling.
214
214
 
215
215
  ```
216
+
217
+
218
+
219
+
220
+
221
+
222
+
223
+ ```
224
+
225
+ $ gem install bcrypt --version '3.1.11'
226
+
227
+ ERROR: While executing gem ... (Errno::EACCES)
228
+
229
+ Permission denied @ rb_sysopen - /Users/mypc/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bcrypt-3.1.11/.gitignore
230
+
231
+ mypc@mypc:~/myapp (hoge *+)
232
+
233
+ $ sudo gem install bcrypt --version '3.1.11'
234
+
235
+ Password:
236
+
237
+ Building native extensions. This could take a while...
238
+
239
+ ERROR: Error installing bcrypt:
240
+
241
+ ERROR: Failed to build gem native extension.
242
+
243
+
244
+
245
+ current directory: /Users/mypc/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bcrypt-3.1.11/ext/mri
246
+
247
+ /Users/mypc/.rbenv/versions/2.3.1/bin/ruby -r ./siteconf20160917-47379-mjzwki.rb extconf.rb
248
+
249
+ creating Makefile
250
+
251
+
252
+
253
+ current directory: /Users/mypc/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bcrypt-3.1.11/ext/mri
254
+
255
+ make "DESTDIR=" clean
256
+
257
+
258
+
259
+ You have not agreed to the Xcode license agreements, please run 'xcodebuild -license' (for user-level acceptance) or 'sudo xcodebuild -license' (for system-wide acceptance) from within a Terminal window to review and agree to the Xcode license agreements.
260
+
261
+
262
+
263
+ current directory: /Users/mypc/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bcrypt-3.1.11/ext/mri
264
+
265
+ make "DESTDIR="
266
+
267
+
268
+
269
+ You have not agreed to the Xcode license agreements, please run 'xcodebuild -license' (for user-level acceptance) or 'sudo xcodebuild -license' (for system-wide acceptance) from within a Terminal window to review and agree to the Xcode license agreements.
270
+
271
+
272
+
273
+ make failed, exit code 69
274
+
275
+
276
+
277
+ Gem files will remain installed in /Users/mypc/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bcrypt-3.1.11 for inspection.
278
+
279
+ Results logged to /Users/mypc/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/extensions/x86_64-darwin-15/2.3.0-static/bcrypt-3.1.11/gem_make.out
280
+
281
+
282
+
283
+ ```

1

コマンドと表示された文を貼る修正をしました。

2016/09/17 02:26

投稿

drizzing20
drizzing20

スコア363

test CHANGED
File without changes
test CHANGED
@@ -10,18 +10,206 @@
10
10
 
11
11
 
12
12
 
13
+ コマンドと表示された文を貼る修正をしました。すみません。
14
+
15
+
16
+
13
17
  解決策を教えてください
14
18
 
15
19
 
16
20
 
17
-
18
-
19
- ```Ruby
21
+ ```ここに言語を入力
22
+
23
+ $ bundle install
24
+
25
+ Fetching gem metadata from https://rubygems.org/.........
26
+
27
+ Fetching version metadata from https://rubygems.org/..
28
+
29
+ Fetching dependency metadata from https://rubygems.org/.
30
+
31
+ Resolving dependencies...
32
+
33
+ Using rake 11.2.2
34
+
35
+ Using concurrent-ruby 1.0.2
36
+
37
+ Using i18n 0.7.0
38
+
39
+ Using minitest 5.9.0
40
+
41
+ Using thread_safe 0.3.5
42
+
43
+ Using builder 3.2.2
44
+
45
+ Using erubis 2.7.0
46
+
47
+ Using mini_portile2 2.1.0
48
+
49
+ Using pkg-config 1.1.7
50
+
51
+ Using rack 2.0.1
52
+
53
+ Using nio4r 1.2.1
54
+
55
+ Using websocket-extensions 0.1.2
56
+
57
+ Using mime-types-data 3.2016.0521
58
+
59
+ Using arel 7.1.2
60
+
61
+ Using execjs 2.7.0
62
+
63
+ Using sass 3.4.22
64
+
65
+ Using bundler 1.13.0
66
+
67
+ Using byebug 9.0.5
68
+
69
+ Using coffee-script-source 1.10.0
70
+
71
+ Using method_source 0.8.2
72
+
73
+ Using thor 0.19.1
74
+
75
+ Using debug_inspector 0.0.2
76
+
77
+ Using diff-lcs 1.2.5
78
+
79
+ Using ffi 1.9.14
80
+
81
+ Using tilt 2.0.5
82
+
83
+ Using sexp_processor 4.7.0
84
+
85
+ Using multi_json 1.12.1
86
+
87
+ Using rb-fsevent 0.9.7
88
+
89
+ Using puma 3.6.0
90
+
91
+ Using rspec-support 3.5.0
92
+
93
+ Using spring 1.7.2
94
+
95
+ Using sqlite3 1.3.11
96
+
97
+ Using turbolinks-source 5.0.0
98
+
99
+ Using tzinfo 1.2.2
100
+
101
+ Using nokogiri 1.6.8
102
+
103
+ Using rack-test 0.6.3
104
+
105
+ Using sprockets 3.7.0
106
+
107
+ Using websocket-driver 0.6.4
108
+
109
+ Using mime-types 3.1
20
110
 
21
111
  Bundler::GemspecError: Could not read gem at /Users/mypc/myapp/vendor/bundle/ruby/2.3.0/cache/bcrypt-3.1.11.gem. It may be corrupted.
22
112
 
23
113
  An error occurred while installing bcrypt (3.1.11), and Bundler cannot continue.
24
114
 
25
- Make sure that `gem install bcrypt -v '3.1.11'` succeeds before bundling
115
+ Make sure that `gem install bcrypt -v '3.1.11'` succeeds before bundling.
26
116
 
27
117
  ```
118
+
119
+
120
+
121
+ ```ここに言語を入力
122
+
123
+ $ bundle update
124
+
125
+ Fetching gem metadata from https://rubygems.org/.........
126
+
127
+ Fetching version metadata from https://rubygems.org/..
128
+
129
+ Fetching dependency metadata from https://rubygems.org/.
130
+
131
+ Resolving dependencies...
132
+
133
+ Using rake 11.2.2
134
+
135
+ Using concurrent-ruby 1.0.2
136
+
137
+ Using i18n 0.7.0
138
+
139
+ Using minitest 5.9.0
140
+
141
+ Using thread_safe 0.3.5
142
+
143
+ Using builder 3.2.2
144
+
145
+ Using erubis 2.7.0
146
+
147
+ Using mini_portile2 2.1.0
148
+
149
+ Using pkg-config 1.1.7
150
+
151
+ Using rack 2.0.1
152
+
153
+ Using nio4r 1.2.1
154
+
155
+ Using websocket-extensions 0.1.2
156
+
157
+ Using mime-types-data 3.2016.0521
158
+
159
+ Using arel 7.1.2
160
+
161
+ Using execjs 2.7.0
162
+
163
+ Using sass 3.4.22
164
+
165
+ Using bundler 1.13.0
166
+
167
+ Using byebug 9.0.5
168
+
169
+ Using coffee-script-source 1.10.0
170
+
171
+ Using method_source 0.8.2
172
+
173
+ Using thor 0.19.1
174
+
175
+ Using debug_inspector 0.0.2
176
+
177
+ Using diff-lcs 1.2.5
178
+
179
+ Using ffi 1.9.14
180
+
181
+ Using tilt 2.0.5
182
+
183
+ Using sexp_processor 4.7.0
184
+
185
+ Using multi_json 1.12.1
186
+
187
+ Using rb-fsevent 0.9.7
188
+
189
+ Using puma 3.6.0
190
+
191
+ Using rspec-support 3.5.0
192
+
193
+ Using spring 1.7.2
194
+
195
+ Using sqlite3 1.3.11
196
+
197
+ Using turbolinks-source 5.0.0
198
+
199
+ Using tzinfo 1.2.2
200
+
201
+ Using sprockets 3.7.0
202
+
203
+ Using nokogiri 1.6.8
204
+
205
+ Using rack-test 0.6.3
206
+
207
+ Using websocket-driver 0.6.4
208
+
209
+ Bundler::GemspecError: Could not read gem at /Users/mypc/myapp/vendor/bundle/ruby/2.3.0/cache/bcrypt-3.1.11.gem. It may be corrupted.
210
+
211
+ An error occurred while installing bcrypt (3.1.11), and Bundler cannot continue.
212
+
213
+ Make sure that `gem install bcrypt -v '3.1.11'` succeeds before bundling.
214
+
215
+ ```