質問編集履歴
3
情報追加のため
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
gem pristine ffi --version 1.14.2....等がインストールできません
|
test
CHANGED
File without changes
|
2
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -394,7 +394,7 @@
|
|
394
394
|
|
395
395
|
|
396
396
|
|
397
|
-
% gem install
|
397
|
+
% gem installを試してみます。
|
398
398
|
|
399
399
|
```ここに言語を入力
|
400
400
|
|
@@ -450,6 +450,6 @@
|
|
450
450
|
|
451
451
|
|
452
452
|
|
453
|
-
再度pod --versionを行いますが
|
453
|
+
再度pod --versionを行いますが以前と変わらない結果となりました。
|
454
454
|
|
455
455
|
何か解決する方法はないでしょうか。ご教示いただけますと幸いです。
|
1
情報追加のため
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,289 +1,455 @@
|
|
1
|
-
MacOSをMonterey 12.0 Beta(21A5552a)へアップデートし、pod updateを行うとエラーが発生したのでCocoaPodsのアップデートを行いましたがアップデートもうまくいきませんでした。そこでアンインストールを行いました。CocoaPodsのインストールの記事を参考にさまざまな方法を試したのですが上手くいかず投稿させていただきました。
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
1
|
+
記事を参考にさまざまな方法を試したのですが上手くいかず投稿させていただきました。
|
6
|
-
|
2
|
+
|
7
|
-
|
3
|
+
Mac OS Moterey 12.0.1
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
+
|
8
|
+
|
8
|
-
|
9
|
+
pod --versionを行うと下記のようなメッセージが表示されました。
|
10
|
+
|
9
|
-
```ここに言語を入力
|
11
|
+
```ここに言語を入力
|
12
|
+
|
13
|
+
・
|
14
|
+
|
15
|
+
・
|
16
|
+
|
17
|
+
・
|
10
18
|
|
11
19
|
Ignoring bigdecimal-3.0.2 because its extensions are not built. Try: gem pristine bigdecimal --version 3.0.2
|
12
20
|
|
13
|
-
Ignoring date-3.1.1 because its extensions are not built. Try: gem pristine date --
|
21
|
+
Ignoring date-3.1.1 because its extensions are not built. Try: gem pristine date --version 3.1.1
|
22
|
+
|
14
|
-
|
23
|
+
Ignoring dbm-1.1.0 because its extensions are not built. Try: gem pristine dbm --version 1.1.0
|
24
|
+
|
25
|
+
Ignoring etc-1.2.0 because its extensions are not built. Try: gem pristine etc --version 1.2.0
|
26
|
+
|
27
|
+
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
|
28
|
+
|
29
|
+
Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
|
30
|
+
|
31
|
+
Ignoring ffi-1.14.2 because its extensions are not built. Try: gem pristine ffi --version 1.14.2
|
32
|
+
|
15
|
-
version 1.0.9
|
33
|
+
Ignoring fiddle-1.0.9 because its extensions are not built. Try: gem pristine fiddle --version 1.0.9
|
16
34
|
|
17
35
|
Ignoring io-console-0.5.9 because its extensions are not built. Try: gem pristine io-console --version 0.5.9
|
18
36
|
|
19
37
|
Ignoring json-2.5.1 because its extensions are not built. Try: gem pristine json --version 2.5.1
|
20
38
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
~~~
|
34
|
-
|
35
|
-
from extconf.rb:9:in `system_libffi_usable?'
|
36
|
-
|
37
|
-
from extconf.rb:42:in `<main>'
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
To see why this extension failed to compile, please check the mkmf.log which can be found here:
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
/Library/Ruby/Gems/2.6.0/extensions/universal-darwin-21/2.6.0/ffi-1.15.4/mkmf.log
|
46
|
-
|
47
|
-
extconf failed, exit code 1
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
Gem files will remain installed in /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.4 for inspection.
|
52
|
-
|
53
|
-
Results logged to /Library/Ruby/Gems/2.6.0/extensions/universal-darwin-21/2.6.0/ffi-1.15.4/gem_make.out
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
ログの内容ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
MacOSX11.3.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/ruby/ruby.h:24:10: fatal error: 'ruby/config.h' file not found
|
62
|
-
|
63
|
-
#include "ruby/config.h"
|
64
|
-
|
65
|
-
^~~~~~~~~~~~~~~
|
66
|
-
|
67
|
-
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/ruby/ruby.h:24:10: note: did not find header 'config.h' in framework 'ruby' (loaded from '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks')
|
68
|
-
|
69
|
-
1 error generated.
|
70
|
-
|
71
|
-
checked program was:
|
72
|
-
|
73
|
-
/* begin */
|
74
|
-
|
75
|
-
1: #include "ruby.h"
|
76
|
-
|
77
|
-
2:
|
78
|
-
|
79
|
-
3: int main(int argc, char **argv)
|
80
|
-
|
81
|
-
4: {
|
82
|
-
|
83
|
-
5: return 0;
|
84
|
-
|
85
|
-
6: }
|
86
|
-
|
87
|
-
/* end */
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
@MacBook ~ % gem install ffi -v '1.12.2'
|
39
|
+
1.11.2
|
40
|
+
|
41
|
+
```
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
そこで % sudo gem pristine --all を行いました。すると下記のようなメッセージが表示されました。
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
```ここに言語を入力
|
98
50
|
|
99
51
|
Ignoring bigdecimal-3.0.2 because its extensions are not built. Try: gem pristine bigdecimal --version 3.0.2
|
100
52
|
|
101
53
|
Ignoring date-3.1.1 because its extensions are not built. Try: gem pristine date --version 3.1.1
|
102
54
|
|
55
|
+
Ignoring dbm-1.1.0 because its extensions are not built. Try: gem pristine dbm --version 1.1.0
|
56
|
+
|
57
|
+
Ignoring etc-1.2.0 because its extensions are not built. Try: gem pristine etc --version 1.2.0
|
58
|
+
|
59
|
+
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
|
60
|
+
|
61
|
+
Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
|
62
|
+
|
63
|
+
Ignoring ffi-1.14.2 because its extensions are not built. Try: gem pristine ffi --version 1.14.2
|
64
|
+
|
65
|
+
Ignoring fiddle-1.0.9 because its extensions are not built. Try: gem pristine fiddle --version 1.0.9
|
66
|
+
|
67
|
+
Ignoring io-console-0.5.9 because its extensions are not built. Try: gem pristine io-console --version 0.5.9
|
68
|
+
|
69
|
+
Ignoring json-2.5.1 because its extensions are not built. Try: gem pristine json --version 2.5.1
|
70
|
+
|
103
|
-
|
71
|
+
Restoring gems to pristine condition...
|
104
|
-
|
72
|
+
|
105
|
-
|
73
|
+
Restored CFPropertyList-3.0.4
|
106
74
|
|
107
75
|
ERROR: While executing gem ... (Gem::FilePermissionError)
|
108
76
|
|
109
|
-
You don't have write permissions for the /Library/Ruby/
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
77
|
+
You don't have write permissions for the /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0 directory.
|
78
|
+
|
79
|
+
```
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
こちらの記事を参考にさせていただき進めました。
|
84
|
+
|
85
|
+
https://kunipon.com/3221
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
```ここに言語を入力
|
90
|
+
|
91
|
+
which ruby
|
92
|
+
|
93
|
+
/usr/bin/ruby
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
which gem
|
98
|
+
|
99
|
+
/usr/bin/gem
|
100
|
+
|
101
|
+
```
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
続いて rbenv init を行いました。記事ではテキストエディタが開くはずですが特に開くことはありませんでした。
|
106
|
+
|
107
|
+
```ここに言語を入力
|
108
|
+
|
109
|
+
# Load rbenv automatically by appending
|
110
|
+
|
111
|
+
# the following to ~/.zshrc:
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
eval "$(rbenv init - zsh)"
|
116
|
+
|
117
|
+
```
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
またこちらの記事も参考にしました。
|
122
|
+
|
123
|
+
https://qiita.com/nishina555/items/63ebd4a508a09c481150
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
brew install rbenv ruby-buildを行いました。
|
128
|
+
|
129
|
+
```ここに言語を入力
|
130
|
+
|
131
|
+
Warning: rbenv 1.2.0 is already installed and up-to-date.
|
132
|
+
|
133
|
+
To reinstall 1.2.0, run:
|
134
|
+
|
135
|
+
brew reinstall rbenv
|
136
|
+
|
137
|
+
Warning: ruby-build 20211019 is already installed and up-to-date.
|
138
|
+
|
139
|
+
To reinstall 20211019, run:
|
140
|
+
|
141
|
+
brew reinstall ruby-build
|
142
|
+
|
143
|
+
```
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
rbenv versionsを確認すると下記の通りの結果となりました。
|
148
|
+
|
149
|
+
```ここに言語を入力
|
150
|
+
|
151
|
+
* system
|
152
|
+
|
153
|
+
```
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
rbenv install -lでヴァージョンを確認しました。
|
158
|
+
|
159
|
+
```ここに言語を入力
|
160
|
+
|
161
|
+
2.6.8
|
162
|
+
|
163
|
+
2.7.4
|
164
|
+
|
165
|
+
3.0.2
|
166
|
+
|
167
|
+
jruby-9.3.1.0
|
168
|
+
|
169
|
+
mruby-3.0.0
|
170
|
+
|
171
|
+
rbx-5.0
|
172
|
+
|
173
|
+
truffleruby-21.3.0
|
174
|
+
|
175
|
+
truffleruby+graalvm-21.3.0
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
Only latest stable releases for each Ruby implementation are shown.
|
180
|
+
|
181
|
+
Use 'rbenv install --list-all / -L' to show all local versions.
|
182
|
+
|
183
|
+
```
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
rbenv install 3.0.2 を行いました。
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
```ここに言語を入力
|
192
|
+
|
193
|
+
Downloading openssl-1.1.1l.tar.gz...
|
194
|
+
|
195
|
+
-> https://dqw8nmjcqpjn7.cloudfront.net/0b7a3e5e59c34827fe0c3a74b7ec8baef302b98fa80088d7f9153aa16fa76bd1
|
196
|
+
|
197
|
+
Installing openssl-1.1.1l...
|
198
|
+
|
199
|
+
Installed openssl-1.1.1l to /Users/koichi/.rbenv/versions/3.0.2
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
Downloading ruby-3.0.2.tar.gz...
|
204
|
+
|
205
|
+
-> https://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.2.tar.gz
|
206
|
+
|
207
|
+
Installing ruby-3.0.2...
|
208
|
+
|
209
|
+
ruby-build: using readline from homebrew
|
210
|
+
|
211
|
+
Installed ruby-3.0.2 to /Users/koichi/.rbenv/versions/3.0.2
|
212
|
+
|
213
|
+
```
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
rbenv versions でヴァージョンを確認します。
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
```ここに言語を入力
|
222
|
+
|
223
|
+
* system
|
224
|
+
|
225
|
+
2.5.3
|
226
|
+
|
227
|
+
3.0.2
|
228
|
+
|
229
|
+
```
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
rbenv global 3.0.2 します。
|
234
|
+
|
235
|
+
|
236
|
+
|
237
|
+
rbenv versions でヴァージョンを確認します。
|
238
|
+
|
239
|
+
```ここに言語を入力
|
240
|
+
|
241
|
+
system
|
242
|
+
|
243
|
+
2.5.3
|
244
|
+
|
245
|
+
* 3.0.2 (set by /Users/myPC/.rbenv/version)
|
246
|
+
|
247
|
+
```
|
248
|
+
|
249
|
+
下記を実行しました
|
250
|
+
|
251
|
+
```ここに言語を入力
|
252
|
+
|
253
|
+
% [[ -d ~/.rbenv ]] && \
|
254
|
+
|
255
|
+
export PATH=${HOME}/.rbenv/bin:${PATH} && \
|
256
|
+
|
257
|
+
eval "$(rbenv init -)"
|
258
|
+
|
259
|
+
```
|
260
|
+
|
261
|
+
パスを変更できgem pristine --all を実行しました。
|
262
|
+
|
263
|
+
```ここに言語を入力
|
264
|
+
|
265
|
+
which ruby
|
266
|
+
|
267
|
+
/Users/myPC/.rbenv/shims/ruby
|
268
|
+
|
269
|
+
which gem
|
270
|
+
|
271
|
+
/Users/myPC/.rbenv/shims/gem
|
272
|
+
|
273
|
+
```
|
274
|
+
|
275
|
+
|
276
|
+
|
277
|
+
すると下記のメッセージが表示されました。
|
278
|
+
|
279
|
+
```ここに言語を入力
|
280
|
+
|
281
|
+
・
|
282
|
+
|
283
|
+
・
|
284
|
+
|
285
|
+
・
|
286
|
+
|
287
|
+
Restored rss-0.2.9
|
288
|
+
|
289
|
+
Skipped securerandom-0.1.0, it is a default gem
|
290
|
+
|
291
|
+
Skipped set-1.0.1, it is a default gem
|
292
|
+
|
293
|
+
Skipped shellwords-0.1.0, it is a default gem
|
294
|
+
|
295
|
+
Skipped singleton-0.1.1, it is a default gem
|
296
|
+
|
297
|
+
Skipped stringio-3.0.0, it is a default gem
|
298
|
+
|
299
|
+
Skipped strscan-3.0.0, it is a default gem
|
300
|
+
|
301
|
+
Skipped syslog-0.1.0, it is a default gem
|
302
|
+
|
303
|
+
Skipped tempfile-0.1.1, it is a default gem
|
304
|
+
|
305
|
+
Restored test-unit-3.3.7
|
306
|
+
|
307
|
+
Skipped time-0.1.0, it is a default gem
|
308
|
+
|
309
|
+
Skipped timeout-0.1.1, it is a default gem
|
310
|
+
|
311
|
+
Skipped tmpdir-0.1.2, it is a default gem
|
312
|
+
|
313
|
+
Skipped tracer-0.1.1, it is a default gem
|
314
|
+
|
315
|
+
Skipped tsort-0.1.0, it is a default gem
|
316
|
+
|
317
|
+
Restored typeprof-0.12.0
|
318
|
+
|
319
|
+
Skipped un-0.1.0, it is a default gem
|
320
|
+
|
321
|
+
Skipped uri-0.10.1, it is a default gem
|
322
|
+
|
323
|
+
Skipped weakref-0.1.1, it is a default gem
|
324
|
+
|
325
|
+
Skipped yaml-0.1.1, it is a default gem
|
326
|
+
|
327
|
+
Skipped zlib-1.1.0, it is a default gem
|
328
|
+
|
329
|
+
```
|
330
|
+
|
331
|
+
|
332
|
+
|
333
|
+
再度pod --versionを確認しますがインストール前と変わりません。
|
334
|
+
|
335
|
+
```ここに言語を入力
|
336
|
+
|
337
|
+
・
|
338
|
+
|
339
|
+
・
|
340
|
+
|
341
|
+
・
|
342
|
+
|
343
|
+
gnoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
|
344
|
+
|
345
|
+
Ignoring ffi-1.14.2 because its extensions are not built. Try: gem pristine ffi --version 1.14.2
|
120
346
|
|
121
347
|
Ignoring bigdecimal-3.0.2 because its extensions are not built. Try: gem pristine bigdecimal --version 3.0.2
|
122
348
|
|
123
|
-
~~~
|
124
|
-
|
125
|
-
version 2.5.1
|
126
|
-
|
127
|
-
Ignoring libxml-ruby-3.2.1 because its extensions are not built. Try: gem pristine libxml-ruby --version 3.2.1
|
128
|
-
|
129
|
-
ERROR: Error installing cocoapods:
|
130
|
-
|
131
|
-
ERROR: Failed to build gem native extension.
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
current directory: /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.4/ext/ffi_c
|
136
|
-
|
137
|
-
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby -I /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0 -r ./siteconf20211018-5049-998f8k.rb extconf.rb
|
138
|
-
|
139
|
-
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:467:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
|
140
|
-
|
141
|
-
You have to install development tools first.
|
142
|
-
|
143
|
-
from
|
144
|
-
|
145
|
-
~~~
|
146
|
-
|
147
|
-
from extconf.rb:9:in `system_libffi_usable?'
|
148
|
-
|
149
|
-
from extconf.rb:42:in `<main>'
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
To see why this extension failed to compile, please check the mkmf.log which can be found here:
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
/Library/Ruby/Gems/2.6.0/extensions/universal-darwin-21/2.6.0/ffi-1.15.4/mkmf.log
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
extconf failed, exit code 1
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
Gem files will remain installed in /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.4 for inspection.
|
166
|
-
|
167
|
-
Results logged to /Library/Ruby/Gems/2.6.0/extensions/universal-darwin-21/2.6.0/ffi-1.15.4/gem_make.out
|
168
|
-
|
169
|
-
```
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
そこでgem install ffi -v '1.12.2'すると
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
```ここに言語を入力
|
178
|
-
|
179
|
-
Ignoring bigdecimal-3.0.2 because its extensions are not built. Try: gem pristine bigdecimal --version 3.0.2
|
180
|
-
|
181
|
-
Ignoring date-3.1.1 because its extensions are not built. Try: gem pristine date --
|
349
|
+
Ignoring date-3.1.1 because its extensions are not built. Try: gem pristine date --version 3.1.1
|
182
|
-
|
350
|
+
|
183
|
-
|
351
|
+
Ignoring dbm-1.1.0 because its extensions are not built. Try: gem pristine dbm --version 1.1.0
|
352
|
+
|
353
|
+
Ignoring etc-1.2.0 because its extensions are not built. Try: gem pristine etc --version 1.2.0
|
354
|
+
|
355
|
+
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
|
356
|
+
|
357
|
+
Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0
|
358
|
+
|
359
|
+
Ignoring ffi-1.14.2 because its extensions are not built. Try: gem pristine ffi --version 1.14.2
|
360
|
+
|
361
|
+
Ignoring fiddle-1.0.9 because its extensions are not built. Try: gem pristine fiddle --version 1.0.9
|
362
|
+
|
363
|
+
Ignoring io-console-0.5.9 because its extensions are not built. Try: gem pristine io-console --version 0.5.9
|
184
364
|
|
185
365
|
Ignoring json-2.5.1 because its extensions are not built. Try: gem pristine json --version 2.5.1
|
186
366
|
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
```ここに言語を入力
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
```
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
```
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
3.0.2
|
278
|
-
|
279
|
-
jruby-9.3.0.0
|
280
|
-
|
281
|
-
mruby-3.0.0
|
282
|
-
|
283
|
-
rbx-5.0
|
284
|
-
|
285
|
-
truffleruby-21.2.0.1
|
286
|
-
|
287
|
-
truffleruby+graalvm-21.2.0
|
288
|
-
|
289
|
-
```
|
367
|
+
1.11.2
|
368
|
+
|
369
|
+
```
|
370
|
+
|
371
|
+
|
372
|
+
|
373
|
+
そこでgem pristine json --version 2.5.1を実行してみました。
|
374
|
+
|
375
|
+
```ここに言語を入力
|
376
|
+
|
377
|
+
Restoring gems to pristine condition...
|
378
|
+
|
379
|
+
Skipped json-2.5.1, it is a default gem
|
380
|
+
|
381
|
+
```
|
382
|
+
|
383
|
+
|
384
|
+
|
385
|
+
もう一つgem pristine ffi --version 1.14.2を実行してみました。
|
386
|
+
|
387
|
+
```ここに言語を入力
|
388
|
+
|
389
|
+
ERROR: While executing gem ... (Gem::Exception)
|
390
|
+
|
391
|
+
Failed to find gems ["ffi"] = 1.14.2
|
392
|
+
|
393
|
+
```
|
394
|
+
|
395
|
+
|
396
|
+
|
397
|
+
% gem install
|
398
|
+
|
399
|
+
```ここに言語を入力
|
400
|
+
|
401
|
+
ERROR: While executing gem ... (Gem::CommandLineError)
|
402
|
+
|
403
|
+
Please specify at least one gem name (e.g. gem build GEMNAME)
|
404
|
+
|
405
|
+
```
|
406
|
+
|
407
|
+
|
408
|
+
|
409
|
+
xcode-select --installでcommand line toolsをインストールしてみました。すると既にインストールされていることが確認できました。
|
410
|
+
|
411
|
+
```ここに言語を入力
|
412
|
+
|
413
|
+
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
|
414
|
+
|
415
|
+
```
|
416
|
+
|
417
|
+
xcodebuild -versionは最新かと思います。
|
418
|
+
|
419
|
+
```ここに言語を入力
|
420
|
+
|
421
|
+
Xcode 13.0
|
422
|
+
|
423
|
+
Build version 13A233
|
424
|
+
|
425
|
+
```
|
426
|
+
|
427
|
+
https://qiita.com/ashketcham/items/980a61f4e2de2ae1bf21
|
428
|
+
|
429
|
+
上記記事を参考にgem install ffi -- --disable-system-libffiを行いました。するとインストールできたように見えます。
|
430
|
+
|
431
|
+
```ここに言語を入力
|
432
|
+
|
433
|
+
Fetching ffi-1.15.4.gem
|
434
|
+
|
435
|
+
Building native extensions with: '--disable-system-libffi'
|
436
|
+
|
437
|
+
This could take a while...
|
438
|
+
|
439
|
+
Successfully installed ffi-1.15.4
|
440
|
+
|
441
|
+
Parsing documentation for ffi-1.15.4
|
442
|
+
|
443
|
+
Installing ri documentation for ffi-1.15.4
|
444
|
+
|
445
|
+
Done installing documentation for ffi after 4 seconds
|
446
|
+
|
447
|
+
1 gem installed
|
448
|
+
|
449
|
+
```
|
450
|
+
|
451
|
+
|
452
|
+
|
453
|
+
再度pod --versionを行いますが依然と変わらない結果となりました。
|
454
|
+
|
455
|
+
何か解決する方法はないでしょうか。ご教示いただけますと幸いです。
|