質問編集履歴
2
リンク追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -357,5 +357,6 @@
|
|
357
357
|
### すでに参考にしているリンク
|
358
358
|
https://abillyz.com/watanabe/studies/244
|
359
359
|
https://nokogiri.org/tutorials/installing_nokogiri.html#supported-platforms
|
360
|
-
|
360
|
+
https://teratail.com/questions/hu67fbfeiwvi8r
|
361
|
-
|
361
|
+
|
362
|
+
|
1
Gemfileに関連するコードを追記しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -32,34 +32,8 @@
|
|
32
32
|
LoadError: /lib/aarch64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /usr/local/bundle/gems/nokogiri-1.13.3-aarch64-linux/lib/nokogiri/2.7/nokogiri.so) - /usr/local/bundle/gems/nokogiri-1.13.3-aarch64-linux/lib/nokogiri/2.7/nokogiri.so
|
33
33
|
/usr/local/bundle/gems/nokogiri-1.13.3-aarch64-linux/lib/nokogiri/extension.rb:7:in `require_relative'
|
34
34
|
/usr/local/bundle/gems/nokogiri-1.13.3-aarch64-linux/lib/nokogiri/extension.rb:7:in `<main>'
|
35
|
-
/usr/local/bundle/gems/nokogiri-1.13.3-aarch64-linux/lib/nokogiri.rb:10:in `require_relative
|
35
|
+
/usr/local/bundle/gems/nokogiri-1.13.3-aarch64-linux/lib/nokogiri.rb:10:in `require_relative
|
36
|
-
/usr/local/bundle/gems/nokogiri-1.13.3-aarch64-linux/lib/nokogiri.rb:10:in `<main>'
|
37
|
-
/usr/local/bundle/gems/bootsnap-1.11.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
|
38
|
-
/usr/local/bundle/gems/bootsnap-1.11.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
|
39
|
-
/usr/local/bundle/gems/activesupport-6.0.4.7/lib/active_support/dependencies.rb:324:in `block in require'
|
40
|
-
/usr/local/bundle/gems/activesupport-6.0.4.7/lib/active_support/dependencies.rb:291:in `load_dependency'
|
41
|
-
/usr/local/bundle/gems/activesupport-6.0.4.7/lib/active_support/dependencies.rb:324:in `require'
|
42
|
-
/usr/local/bundle/gems/actiontext-6.0.4.7/lib/action_text.rb:6:in `<main>'
|
43
|
-
/usr/local/bundle/gems/bootsnap-1.11.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
|
44
|
-
/usr/local/bundle/gems/bootsnap-1.11.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
|
45
|
-
/usr/local/bundle/gems/activesupport-6.0.4.7/lib/active_support/dependencies.rb:324:in `block in require'
|
46
|
-
/usr/local/bundle/gems/activesupport-6.0.4.7/lib/active_support/dependencies.rb:291:in `load_dependency'
|
47
|
-
/usr/local/bundle/gems/activesupport-6.0.4.7/lib/active_support/dependencies.rb:324:in `require'
|
48
|
-
/usr/local/bundle/gems/actiontext-6.0.4.7/lib/action_text/engine.rb:8:in `<main>'
|
49
|
-
/usr/local/bundle/gems/bootsnap-1.11.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
|
50
|
-
/usr/local/bundle/gems/bootsnap-1.11.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
|
51
|
-
/usr/local/bundle/gems/activesupport-6.0.4.7/lib/active_support/dependencies.rb:324:in `block in require'
|
52
|
-
/usr/local/bundle/gems/activesupport-6.0.4.7/lib/active_support/dependencies.rb:291:in `load_dependency'
|
53
|
-
/usr/local/bundle/gems/activesupport-6.0.4.7/lib/active_support/dependencies.rb:324:in `require'
|
54
|
-
/app/config/application.rb:12:in `<main>'
|
55
|
-
/app/rakefile:4:in `require_relative'
|
56
|
-
|
36
|
+
----省略----
|
57
|
-
/usr/local/bundle/gems/bootsnap-1.11.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:39:in `load'
|
58
|
-
/usr/local/bundle/gems/bootsnap-1.11.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:39:in `load'
|
59
|
-
/usr/local/bundle/gems/railties-6.0.4.7/lib/rails/commands/rake/rake_command.rb:22:in `block in perform'
|
60
|
-
/usr/local/bundle/gems/railties-6.0.4.7/lib/rails/commands/rake/rake_command.rb:20:in `perform'
|
61
|
-
/usr/local/bundle/gems/railties-6.0.4.7/lib/rails/command.rb:48:in `invoke'
|
62
|
-
/usr/local/bundle/gems/railties-6.0.4.7/lib/rails/commands.rb:18:in `<main>'
|
63
37
|
/usr/local/bundle/gems/bootsnap-1.11.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
|
64
38
|
/usr/local/bundle/gems/bootsnap-1.11.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
|
65
39
|
bin/rails:9:in `<main>'
|
@@ -159,6 +133,223 @@
|
|
159
133
|
```
|
160
134
|
※front部分のDockerfileを読み込むところまで行っていないのであえて記載しません。
|
161
135
|
|
136
|
+
### Gemfile関連のファイル
|
137
|
+
|
138
|
+
```GemfileGemfile
|
139
|
+
source 'https://rubygems.org'
|
140
|
+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
141
|
+
|
142
|
+
ruby '2.7.1'
|
143
|
+
|
144
|
+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails', branch: 'main'
|
145
|
+
gem 'rails', '~> 6.0.4', '>= 6.0.4.7'
|
146
|
+
# Use mysql as the database for Active Record
|
147
|
+
gem 'mysql2', '>= 0.4.4'
|
148
|
+
# Use Puma as the app server
|
149
|
+
gem 'puma', '~> 4.1'
|
150
|
+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
|
151
|
+
# gem 'jbuilder', '~> 2.7'
|
152
|
+
# Use Redis adapter to run Action Cable in production
|
153
|
+
# gem 'redis', '~> 4.0'
|
154
|
+
# Use Active Model has_secure_password
|
155
|
+
# gem 'bcrypt', '~> 3.1.7'
|
156
|
+
|
157
|
+
# Use Active Storage variant
|
158
|
+
# gem 'image_processing', '~> 1.2'
|
159
|
+
|
160
|
+
# Reduces boot times through caching; required in config/boot.rb
|
161
|
+
gem 'bootsnap', '>= 1.4.2', require: false
|
162
|
+
|
163
|
+
# Use Rack CORS for handling Cross-Origin Resource Sharing (CORS), making cross-origin AJAX possible
|
164
|
+
gem 'rack-cors'
|
165
|
+
|
166
|
+
group :development, :test do
|
167
|
+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
|
168
|
+
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
|
169
|
+
end
|
170
|
+
|
171
|
+
group :development do
|
172
|
+
gem 'listen', '~> 3.2'
|
173
|
+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
|
174
|
+
gem 'spring'
|
175
|
+
gem 'spring-watcher-listen', '~> 2.0.0'
|
176
|
+
end
|
177
|
+
|
178
|
+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
179
|
+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
180
|
+
|
181
|
+
```
|
182
|
+
```Gemfile.lock
|
183
|
+
GEM
|
184
|
+
remote: https://rubygems.org/
|
185
|
+
specs:
|
186
|
+
actioncable (6.0.4.7)
|
187
|
+
actionpack (= 6.0.4.7)
|
188
|
+
nio4r (~> 2.0)
|
189
|
+
websocket-driver (>= 0.6.1)
|
190
|
+
actionmailbox (6.0.4.7)
|
191
|
+
actionpack (= 6.0.4.7)
|
192
|
+
activejob (= 6.0.4.7)
|
193
|
+
activerecord (= 6.0.4.7)
|
194
|
+
activestorage (= 6.0.4.7)
|
195
|
+
activesupport (= 6.0.4.7)
|
196
|
+
mail (>= 2.7.1)
|
197
|
+
actionmailer (6.0.4.7)
|
198
|
+
actionpack (= 6.0.4.7)
|
199
|
+
actionview (= 6.0.4.7)
|
200
|
+
activejob (= 6.0.4.7)
|
201
|
+
mail (~> 2.5, >= 2.5.4)
|
202
|
+
rails-dom-testing (~> 2.0)
|
203
|
+
actionpack (6.0.4.7)
|
204
|
+
actionview (= 6.0.4.7)
|
205
|
+
activesupport (= 6.0.4.7)
|
206
|
+
rack (~> 2.0, >= 2.0.8)
|
207
|
+
rack-test (>= 0.6.3)
|
208
|
+
rails-dom-testing (~> 2.0)
|
209
|
+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
210
|
+
actiontext (6.0.4.7)
|
211
|
+
actionpack (= 6.0.4.7)
|
212
|
+
activerecord (= 6.0.4.7)
|
213
|
+
activestorage (= 6.0.4.7)
|
214
|
+
activesupport (= 6.0.4.7)
|
215
|
+
nokogiri (>= 1.8.5)
|
216
|
+
actionview (6.0.4.7)
|
217
|
+
activesupport (= 6.0.4.7)
|
218
|
+
builder (~> 3.1)
|
219
|
+
erubi (~> 1.4)
|
220
|
+
rails-dom-testing (~> 2.0)
|
221
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
222
|
+
activejob (6.0.4.7)
|
223
|
+
activesupport (= 6.0.4.7)
|
224
|
+
globalid (>= 0.3.6)
|
225
|
+
activemodel (6.0.4.7)
|
226
|
+
activesupport (= 6.0.4.7)
|
227
|
+
activerecord (6.0.4.7)
|
228
|
+
activemodel (= 6.0.4.7)
|
229
|
+
activesupport (= 6.0.4.7)
|
230
|
+
activestorage (6.0.4.7)
|
231
|
+
actionpack (= 6.0.4.7)
|
232
|
+
activejob (= 6.0.4.7)
|
233
|
+
activerecord (= 6.0.4.7)
|
234
|
+
marcel (~> 1.0.0)
|
235
|
+
activesupport (6.0.4.7)
|
236
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
237
|
+
i18n (>= 0.7, < 2)
|
238
|
+
minitest (~> 5.1)
|
239
|
+
tzinfo (~> 1.1)
|
240
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
241
|
+
bootsnap (1.11.1)
|
242
|
+
msgpack (~> 1.2)
|
243
|
+
builder (3.2.4)
|
244
|
+
byebug (11.1.3)
|
245
|
+
concurrent-ruby (1.1.10)
|
246
|
+
crass (1.0.6)
|
247
|
+
erubi (1.10.0)
|
248
|
+
ffi (1.15.5)
|
249
|
+
globalid (1.0.0)
|
250
|
+
activesupport (>= 5.0)
|
251
|
+
i18n (1.10.0)
|
252
|
+
concurrent-ruby (~> 1.0)
|
253
|
+
listen (3.7.1)
|
254
|
+
rb-fsevent (~> 0.10, >= 0.10.3)
|
255
|
+
rb-inotify (~> 0.9, >= 0.9.10)
|
256
|
+
loofah (2.16.0)
|
257
|
+
crass (~> 1.0.2)
|
258
|
+
nokogiri (>= 1.5.9)
|
259
|
+
mail (2.7.1)
|
260
|
+
mini_mime (>= 0.1.1)
|
261
|
+
marcel (1.0.2)
|
262
|
+
method_source (1.0.0)
|
263
|
+
mini_mime (1.1.2)
|
264
|
+
mini_portile2 (2.8.0)
|
265
|
+
minitest (5.15.0)
|
266
|
+
msgpack (1.5.0)
|
267
|
+
mysql2 (0.5.3)
|
268
|
+
nio4r (2.5.8)
|
269
|
+
nokogiri (1.13.3)
|
270
|
+
mini_portile2 (~> 2.8.0)
|
271
|
+
racc (~> 1.4)
|
272
|
+
puma (4.3.12)
|
273
|
+
nio4r (~> 2.0)
|
274
|
+
racc (1.6.0)
|
275
|
+
rack (2.2.3)
|
276
|
+
rack-cors (1.1.1)
|
277
|
+
rack (>= 2.0.0)
|
278
|
+
rack-test (1.1.0)
|
279
|
+
rack (>= 1.0, < 3)
|
280
|
+
rails (6.0.4.7)
|
281
|
+
actioncable (= 6.0.4.7)
|
282
|
+
actionmailbox (= 6.0.4.7)
|
283
|
+
actionmailer (= 6.0.4.7)
|
284
|
+
actionpack (= 6.0.4.7)
|
285
|
+
actiontext (= 6.0.4.7)
|
286
|
+
actionview (= 6.0.4.7)
|
287
|
+
activejob (= 6.0.4.7)
|
288
|
+
activemodel (= 6.0.4.7)
|
289
|
+
activerecord (= 6.0.4.7)
|
290
|
+
activestorage (= 6.0.4.7)
|
291
|
+
activesupport (= 6.0.4.7)
|
292
|
+
bundler (>= 1.3.0)
|
293
|
+
railties (= 6.0.4.7)
|
294
|
+
sprockets-rails (>= 2.0.0)
|
295
|
+
rails-dom-testing (2.0.3)
|
296
|
+
activesupport (>= 4.2.0)
|
297
|
+
nokogiri (>= 1.6)
|
298
|
+
rails-html-sanitizer (1.4.2)
|
299
|
+
loofah (~> 2.3)
|
300
|
+
railties (6.0.4.7)
|
301
|
+
actionpack (= 6.0.4.7)
|
302
|
+
activesupport (= 6.0.4.7)
|
303
|
+
method_source
|
304
|
+
rake (>= 0.8.7)
|
305
|
+
thor (>= 0.20.3, < 2.0)
|
306
|
+
rake (13.0.6)
|
307
|
+
rb-fsevent (0.11.1)
|
308
|
+
rb-inotify (0.10.1)
|
309
|
+
ffi (~> 1.0)
|
310
|
+
spring (2.1.1)
|
311
|
+
spring-watcher-listen (2.0.1)
|
312
|
+
listen (>= 2.7, < 4.0)
|
313
|
+
spring (>= 1.2, < 3.0)
|
314
|
+
sprockets (4.0.3)
|
315
|
+
concurrent-ruby (~> 1.0)
|
316
|
+
rack (> 1, < 3)
|
317
|
+
sprockets-rails (3.4.2)
|
318
|
+
actionpack (>= 5.2)
|
319
|
+
activesupport (>= 5.2)
|
320
|
+
sprockets (>= 3.0.0)
|
321
|
+
thor (1.2.1)
|
322
|
+
thread_safe (0.3.6)
|
323
|
+
tzinfo (1.2.9)
|
324
|
+
thread_safe (~> 0.1)
|
325
|
+
websocket-driver (0.7.5)
|
326
|
+
websocket-extensions (>= 0.1.0)
|
327
|
+
websocket-extensions (0.1.5)
|
328
|
+
zeitwerk (2.5.4)
|
329
|
+
|
330
|
+
PLATFORMS
|
331
|
+
ruby
|
332
|
+
|
333
|
+
DEPENDENCIES
|
334
|
+
bootsnap (>= 1.4.2)
|
335
|
+
byebug
|
336
|
+
listen (~> 3.2)
|
337
|
+
mysql2 (>= 0.4.4)
|
338
|
+
puma (~> 4.1)
|
339
|
+
rack-cors
|
340
|
+
rails (~> 6.0.4, >= 6.0.4.7)
|
341
|
+
spring
|
342
|
+
spring-watcher-listen (~> 2.0.0)
|
343
|
+
tzinfo-data
|
344
|
+
|
345
|
+
RUBY VERSION
|
346
|
+
ruby 2.7.1p83
|
347
|
+
|
348
|
+
BUNDLED WITH
|
349
|
+
2.1.4
|
350
|
+
|
351
|
+
```
|
352
|
+
|
162
353
|
### 教えて頂きたいこと
|
163
354
|
自分としてはGLIBCについてエラーで不足しているのは2.29、実際に入っているのは2.28という点が怪しいかなとバージョンアップなどの対応を試しているところです。
|
164
355
|
上記のようにまだ模索中ではあるのですが、かなり時間がかかっており並行して他の解決策についてご教示いただけると幸いです。
|