質問編集履歴

1

試したことを追加しました。

2021/04/22 11:20

投稿

rkmy
rkmy

スコア8

test CHANGED
File without changes
test CHANGED
@@ -100,6 +100,106 @@
100
100
 
101
101
  を実行してみたり、インストールするRubyのバージョンを3系に変えてみたりしましたが、いずれもうまくいきません。
102
102
 
103
+ v3.0.1をインストールしようとしたときのエラーは以下です。
104
+
105
+
106
+
107
+ ```ここに言語を入力
108
+
109
+ ruby-build: using readline from homebrew
110
+
111
+
112
+
113
+ BUILD FAILED (macOS 11.2.3 using ruby-build 20210405)
114
+
115
+
116
+
117
+ Inspect or clean up the working tree at /var/folders/gn/6tnmkjrx2nb4v0_nsmvr71b80000gp/T/ruby-build.20210422201325.29969.FlRVAW
118
+
119
+ Results logged to /var/folders/gn/6tnmkjrx2nb4v0_nsmvr71b80000gp/T/ruby-build.20210422201325.29969.log
120
+
121
+
122
+
123
+ Last 10 log lines:
124
+
125
+ Could not be configured. It will not be installed.
126
+
127
+ :43: Interrupted system call -
128
+
129
+ Check ext/syslog/mkmf.log for more details.
130
+
131
+ *** Fix the problems, then remove these directories and try again if you want.
132
+
133
+ Generating RDoc documentation
134
+
135
+ uh-oh! RDoc had a problem:
136
+
137
+ cannot load such file -- io/console
138
+
139
+
140
+
141
+ run with --debug for full backtrace
142
+
143
+ make: *** [rdoc] Error 1
144
+
145
+
146
+
147
+ ```
148
+
149
+
150
+
151
+ 以下も実行してみましたが、エラーになりました。
152
+
153
+ ```ここに言語を入力
154
+
155
+ CFLAGS="-Wno-error=implicit-function-declaration" rbenv install 2.6.7
156
+
157
+
158
+
159
+ ```
160
+
161
+
162
+
163
+ ```ここに言語を入力
164
+
165
+ ruby-build: using readline from homebrew
166
+
167
+
168
+
169
+ BUILD FAILED (macOS 11.2.3 using ruby-build 20210405)
170
+
171
+
172
+
173
+ Inspect or clean up the working tree at /var/folders/gn/6tnmkjrx2nb4v0_nsmvr71b80000gp/T/ruby-build.20210422132242.7039.gAJysa
174
+
175
+ Results logged to /var/folders/gn/6tnmkjrx2nb4v0_nsmvr71b80000gp/T/ruby-build.20210422132242.7039.log
176
+
177
+
178
+
179
+ Last 10 log lines:
180
+
181
+ from /private/var/folders/gn/6tnmkjrx2nb4v0_nsmvr71b80000gp/T/ruby-build.20210422132242.7039.gAJysa/ruby-2.6.7/lib/rubygems/core_ext/kernel_require.rb:54:in `require'
182
+
183
+ from /private/var/folders/gn/6tnmkjrx2nb4v0_nsmvr71b80000gp/T/ruby-build.20210422132242.7039.gAJysa/ruby-2.6.7/lib/rubygems/package.rb:44:in `<top (required)>'
184
+
185
+ from /private/var/folders/gn/6tnmkjrx2nb4v0_nsmvr71b80000gp/T/ruby-build.20210422132242.7039.gAJysa/ruby-2.6.7/lib/rubygems/core_ext/kernel_require.rb:54:in `require'
186
+
187
+ from /private/var/folders/gn/6tnmkjrx2nb4v0_nsmvr71b80000gp/T/ruby-build.20210422132242.7039.gAJysa/ruby-2.6.7/lib/rubygems/core_ext/kernel_require.rb:54:in `require'
188
+
189
+ from /private/var/folders/gn/6tnmkjrx2nb4v0_nsmvr71b80000gp/T/ruby-build.20210422132242.7039.gAJysa/ruby-2.6.7/lib/rubygems/installer.rb:11:in `<top (required)>'
190
+
191
+ from /private/var/folders/gn/6tnmkjrx2nb4v0_nsmvr71b80000gp/T/ruby-build.20210422132242.7039.gAJysa/ruby-2.6.7/lib/rubygems/core_ext/kernel_require.rb:54:in `require'
192
+
193
+ from /private/var/folders/gn/6tnmkjrx2nb4v0_nsmvr71b80000gp/T/ruby-build.20210422132242.7039.gAJysa/ruby-2.6.7/lib/rubygems/core_ext/kernel_require.rb:54:in `require'
194
+
195
+ from ./tool/rbinstall.rb:707:in `<module:RbInstall>'
196
+
197
+ from ./tool/rbinstall.rb:643:in `<main>'
198
+
199
+ make: *** [do-install-all] Error 1
200
+
201
+ ```
202
+
103
203
 
104
204
 
105
205
  ### 補足情報(FW/ツールのバージョンなど)