質問編集履歴
2
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,14 +1,16 @@
|
|
1
1
|
Rubyでgoogle_drive gemを使用し、
|
2
2
|
|
3
|
-
スプレッドシートの作成や、スプレッドシートへの書き込みをしてい
|
3
|
+
スプレッドシートの作成や、スプレッドシートへの書き込みをしています。
|
4
|
-
|
5
|
-
|
6
|
-
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
-
開発用CentOS7でスプレッドシートの作成ができません。
|
7
|
+
何故か、開発用CentOS7でのみスプレッドシートの作成ができません。
|
8
|
-
|
8
|
+
|
9
|
+
|
10
|
+
|
9
|
-
スプレッドシートへの書き込みは可能で
|
11
|
+
・スプレッドシートへの書き込みは可能です
|
10
|
-
|
12
|
+
|
11
|
-
他のCentOSでは作成も書き込みも可能です。
|
13
|
+
・他のCentOSでは、作成も書き込みも可能です。
|
12
14
|
|
13
15
|
|
14
16
|
|
@@ -38,478 +40,486 @@
|
|
38
40
|
|
39
41
|
sessionの中身は下記のように空ではないようです。
|
40
42
|
|
43
|
+
|
44
|
+
|
45
|
+
```ここに言語を入力
|
46
|
+
|
47
|
+
$ ruby rb/test8_sheet.rb
|
48
|
+
|
49
|
+
#<GoogleDrive::Session:0x21c>
|
50
|
+
|
51
|
+
Traceback (most recent call last):
|
52
|
+
|
53
|
+
22: from rb/test8_sheet.rb:7:in `<main>'
|
54
|
+
|
55
|
+
21: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/google_drive-3.0.6/lib/google_drive/session.rb:493:in `create_spreadsheet'
|
56
|
+
|
57
|
+
20: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/google_drive-3.0.6/lib/google_drive/session.rb:510:in `create_file'
|
58
|
+
|
59
|
+
19: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/google-api-client-0.53.0/generated/google/apis/drive_v3/service.rb:918:in `create_file'
|
60
|
+
|
61
|
+
18: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/google-apis-core-0.3.0/lib/google/apis/core/base_service.rb:377:in `execute_or_queue_command'
|
62
|
+
|
63
|
+
17: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/google-apis-core-0.3.0/lib/google/apis/core/http_command.rb:99:in `execute'
|
64
|
+
|
65
|
+
16: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/google-apis-core-0.3.0/lib/google/apis/core/api_command.rb:81:in `prepare!'
|
66
|
+
|
67
|
+
15: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/representable-3.0.4/lib/representable/json.rb:44:in `to_json'
|
68
|
+
|
69
|
+
14: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/representable-3.0.4/lib/representable/hash.rb:34:in `to_hash'
|
70
|
+
|
71
|
+
13: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/representable-3.0.4/lib/representable.rb:45:in `create_representation_with'
|
72
|
+
|
73
|
+
12: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/representable-3.0.4/lib/representable.rb:70:in `representable_map!'
|
74
|
+
|
75
|
+
11: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/representable-3.0.4/lib/representable.rb:51:in `call'
|
76
|
+
|
77
|
+
10: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/representable-3.0.4/lib/representable.rb:51:in `each'
|
78
|
+
|
79
|
+
9: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/representable-3.0.4/lib/representable.rb:53:in `block in call'
|
80
|
+
|
81
|
+
8: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/representable-3.0.4/lib/representable/binding.rb:32:in `compile_fragment'
|
82
|
+
|
83
|
+
7: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/representable-3.0.4/lib/representable/pipeline.rb:9:in `call'
|
84
|
+
|
85
|
+
6: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/representable-3.0.4/lib/representable/pipeline.rb:9:in `inject'
|
86
|
+
|
87
|
+
5: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/representable-3.0.4/lib/representable/pipeline.rb:9:in `each'
|
88
|
+
|
89
|
+
4: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/representable-3.0.4/lib/representable/pipeline.rb:10:in `block in call'
|
90
|
+
|
91
|
+
3: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/representable-3.0.4/lib/representable/pipeline.rb:18:in `evaluate'
|
92
|
+
|
93
|
+
2: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/representable-3.0.4/lib/representable/pipeline.rb:47:in `call'
|
94
|
+
|
95
|
+
1: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/representable-3.0.4/lib/representable/pipeline.rb:47:in `tap'
|
96
|
+
|
97
|
+
/home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/representable-3.0.4/lib/representable/pipeline.rb:48:in `block in call': undefined method `each' for nil:NilClass (NoMethodError)
|
98
|
+
|
99
|
+
```
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
```Gemfile
|
106
|
+
|
107
|
+
source 'https://rubygems.org'
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
ruby "2.7.2"
|
112
|
+
|
113
|
+
gem 'google_drive'
|
114
|
+
|
115
|
+
gem "selenium-webdriver"
|
116
|
+
|
117
|
+
# gem 'webdrivers'
|
118
|
+
|
119
|
+
gem "platform-api"
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
gem 'rainbow'
|
124
|
+
|
125
|
+
gem 'dotenv-rails'
|
126
|
+
|
127
|
+
gem 'nokogiri', '>= 1.5.3', '<2.0.0'
|
128
|
+
|
129
|
+
gem 'parallel'
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
```
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
``` Gemfile.lock
|
140
|
+
|
141
|
+
GEM
|
142
|
+
|
143
|
+
remote: https://rubygems.org/
|
144
|
+
|
145
|
+
specs:
|
146
|
+
|
147
|
+
actionpack (6.1.3)
|
148
|
+
|
149
|
+
actionview (= 6.1.3)
|
150
|
+
|
151
|
+
activesupport (= 6.1.3)
|
152
|
+
|
153
|
+
rack (~> 2.0, >= 2.0.9)
|
154
|
+
|
155
|
+
rack-test (>= 0.6.3)
|
156
|
+
|
157
|
+
rails-dom-testing (~> 2.0)
|
158
|
+
|
159
|
+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
160
|
+
|
161
|
+
actionview (6.1.3)
|
162
|
+
|
163
|
+
activesupport (= 6.1.3)
|
164
|
+
|
165
|
+
builder (~> 3.1)
|
166
|
+
|
167
|
+
erubi (~> 1.4)
|
168
|
+
|
169
|
+
rails-dom-testing (~> 2.0)
|
170
|
+
|
171
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
172
|
+
|
173
|
+
activesupport (6.1.3)
|
174
|
+
|
175
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
176
|
+
|
177
|
+
i18n (>= 1.6, < 2)
|
178
|
+
|
179
|
+
minitest (>= 5.1)
|
180
|
+
|
181
|
+
tzinfo (~> 2.0)
|
182
|
+
|
183
|
+
zeitwerk (~> 2.3)
|
184
|
+
|
185
|
+
addressable (2.7.0)
|
186
|
+
|
187
|
+
public_suffix (>= 2.0.2, < 5.0)
|
188
|
+
|
189
|
+
builder (3.2.4)
|
190
|
+
|
191
|
+
childprocess (3.0.0)
|
192
|
+
|
193
|
+
concurrent-ruby (1.1.8)
|
194
|
+
|
195
|
+
crass (1.0.6)
|
196
|
+
|
197
|
+
declarative (0.0.20)
|
198
|
+
|
199
|
+
declarative-option (0.1.0)
|
200
|
+
|
201
|
+
dotenv (2.7.6)
|
202
|
+
|
203
|
+
dotenv-rails (2.7.6)
|
204
|
+
|
205
|
+
dotenv (= 2.7.6)
|
206
|
+
|
207
|
+
railties (>= 3.2)
|
208
|
+
|
209
|
+
erubi (1.10.0)
|
210
|
+
|
211
|
+
erubis (2.7.0)
|
212
|
+
|
213
|
+
excon (0.79.0)
|
214
|
+
|
215
|
+
faraday (1.3.0)
|
216
|
+
|
217
|
+
faraday-net_http (~> 1.0)
|
218
|
+
|
219
|
+
multipart-post (>= 1.2, < 3)
|
220
|
+
|
221
|
+
ruby2_keywords
|
222
|
+
|
223
|
+
faraday-net_http (1.0.1)
|
224
|
+
|
225
|
+
gems (1.2.0)
|
226
|
+
|
227
|
+
google-api-client (0.53.0)
|
228
|
+
|
229
|
+
google-apis-core (~> 0.1)
|
230
|
+
|
231
|
+
google-apis-generator (~> 0.1)
|
232
|
+
|
233
|
+
google-apis-core (0.3.0)
|
234
|
+
|
235
|
+
addressable (~> 2.5, >= 2.5.1)
|
236
|
+
|
237
|
+
googleauth (~> 0.14)
|
238
|
+
|
239
|
+
httpclient (>= 2.8.1, < 3.0)
|
240
|
+
|
241
|
+
mini_mime (~> 1.0)
|
242
|
+
|
243
|
+
representable (~> 3.0)
|
244
|
+
|
245
|
+
retriable (>= 2.0, < 4.0)
|
246
|
+
|
247
|
+
rexml
|
248
|
+
|
249
|
+
signet (~> 0.14)
|
250
|
+
|
251
|
+
webrick
|
252
|
+
|
253
|
+
google-apis-discovery_v1 (0.2.0)
|
254
|
+
|
255
|
+
google-apis-core (~> 0.1)
|
256
|
+
|
257
|
+
google-apis-generator (0.2.0)
|
258
|
+
|
259
|
+
activesupport (>= 5.0)
|
260
|
+
|
261
|
+
gems (~> 1.2)
|
262
|
+
|
263
|
+
google-apis-core (~> 0.1)
|
264
|
+
|
265
|
+
google-apis-discovery_v1 (~> 0.0)
|
266
|
+
|
267
|
+
thor (>= 0.20, < 2.a)
|
268
|
+
|
269
|
+
google_drive (3.0.6)
|
270
|
+
|
271
|
+
google-api-client (>= 0.11.0, < 1.0.0)
|
272
|
+
|
273
|
+
googleauth (>= 0.5.0, < 1.0.0)
|
274
|
+
|
275
|
+
nokogiri (>= 1.5.3, < 2.0.0)
|
276
|
+
|
277
|
+
googleauth (0.16.0)
|
278
|
+
|
279
|
+
faraday (>= 0.17.3, < 2.0)
|
280
|
+
|
281
|
+
jwt (>= 1.4, < 3.0)
|
282
|
+
|
283
|
+
memoist (~> 0.16)
|
284
|
+
|
285
|
+
multi_json (~> 1.11)
|
286
|
+
|
287
|
+
os (>= 0.9, < 2.0)
|
288
|
+
|
289
|
+
signet (~> 0.14)
|
290
|
+
|
291
|
+
heroics (0.1.2)
|
292
|
+
|
293
|
+
erubis (~> 2.0)
|
294
|
+
|
295
|
+
excon
|
296
|
+
|
297
|
+
moneta
|
298
|
+
|
299
|
+
multi_json (>= 1.9.2)
|
300
|
+
|
301
|
+
webrick
|
302
|
+
|
303
|
+
httpclient (2.8.3)
|
304
|
+
|
305
|
+
i18n (1.8.9)
|
306
|
+
|
307
|
+
concurrent-ruby (~> 1.0)
|
308
|
+
|
309
|
+
jwt (2.2.2)
|
310
|
+
|
311
|
+
loofah (2.9.0)
|
312
|
+
|
313
|
+
crass (~> 1.0.2)
|
314
|
+
|
315
|
+
nokogiri (>= 1.5.9)
|
316
|
+
|
317
|
+
memoist (0.16.2)
|
318
|
+
|
319
|
+
method_source (1.0.0)
|
320
|
+
|
321
|
+
mini_mime (1.0.2)
|
322
|
+
|
323
|
+
minitest (5.14.4)
|
324
|
+
|
325
|
+
moneta (1.0.0)
|
326
|
+
|
327
|
+
multi_json (1.15.0)
|
328
|
+
|
329
|
+
multipart-post (2.1.1)
|
330
|
+
|
331
|
+
nokogiri (1.11.2-x86_64-linux)
|
332
|
+
|
333
|
+
racc (~> 1.4)
|
334
|
+
|
335
|
+
os (1.1.1)
|
336
|
+
|
337
|
+
parallel (1.20.1)
|
338
|
+
|
339
|
+
platform-api (3.3.0)
|
340
|
+
|
341
|
+
heroics (~> 0.1.1)
|
342
|
+
|
343
|
+
moneta (~> 1.0.0)
|
344
|
+
|
345
|
+
rate_throttle_client (~> 0.1.0)
|
346
|
+
|
347
|
+
public_suffix (4.0.6)
|
348
|
+
|
349
|
+
racc (1.5.2)
|
350
|
+
|
351
|
+
rack (2.2.3)
|
352
|
+
|
353
|
+
rack-test (1.1.0)
|
354
|
+
|
355
|
+
rack (>= 1.0, < 3)
|
356
|
+
|
357
|
+
rails-dom-testing (2.0.3)
|
358
|
+
|
359
|
+
activesupport (>= 4.2.0)
|
360
|
+
|
361
|
+
nokogiri (>= 1.6)
|
362
|
+
|
363
|
+
rails-html-sanitizer (1.3.0)
|
364
|
+
|
365
|
+
loofah (~> 2.3)
|
366
|
+
|
367
|
+
railties (6.1.3)
|
368
|
+
|
369
|
+
actionpack (= 6.1.3)
|
370
|
+
|
371
|
+
activesupport (= 6.1.3)
|
372
|
+
|
373
|
+
method_source
|
374
|
+
|
375
|
+
rake (>= 0.8.7)
|
376
|
+
|
377
|
+
thor (~> 1.0)
|
378
|
+
|
379
|
+
rainbow (3.0.0)
|
380
|
+
|
381
|
+
rake (13.0.3)
|
382
|
+
|
383
|
+
rate_throttle_client (0.1.2)
|
384
|
+
|
385
|
+
representable (3.0.4)
|
386
|
+
|
387
|
+
declarative (< 0.1.0)
|
388
|
+
|
389
|
+
declarative-option (< 0.2.0)
|
390
|
+
|
391
|
+
uber (< 0.2.0)
|
392
|
+
|
393
|
+
retriable (3.1.2)
|
394
|
+
|
395
|
+
rexml (3.2.4)
|
396
|
+
|
397
|
+
ruby2_keywords (0.0.4)
|
398
|
+
|
399
|
+
rubyzip (2.3.0)
|
400
|
+
|
401
|
+
selenium-webdriver (3.142.7)
|
402
|
+
|
403
|
+
childprocess (>= 0.5, < 4.0)
|
404
|
+
|
405
|
+
rubyzip (>= 1.2.2)
|
406
|
+
|
407
|
+
signet (0.15.0)
|
408
|
+
|
409
|
+
addressable (~> 2.3)
|
410
|
+
|
411
|
+
faraday (>= 0.17.3, < 2.0)
|
412
|
+
|
413
|
+
jwt (>= 1.5, < 3.0)
|
414
|
+
|
415
|
+
multi_json (~> 1.10)
|
416
|
+
|
417
|
+
thor (1.1.0)
|
418
|
+
|
419
|
+
tzinfo (2.0.4)
|
420
|
+
|
421
|
+
concurrent-ruby (~> 1.0)
|
422
|
+
|
423
|
+
uber (0.1.0)
|
424
|
+
|
425
|
+
webrick (1.7.0)
|
426
|
+
|
427
|
+
zeitwerk (2.4.2)
|
428
|
+
|
429
|
+
|
430
|
+
|
431
|
+
PLATFORMS
|
432
|
+
|
433
|
+
x86_64-linux
|
434
|
+
|
435
|
+
|
436
|
+
|
437
|
+
DEPENDENCIES
|
438
|
+
|
439
|
+
dotenv-rails
|
440
|
+
|
441
|
+
google_drive
|
442
|
+
|
443
|
+
nokogiri (>= 1.5.3, < 2.0.0)
|
444
|
+
|
445
|
+
parallel
|
446
|
+
|
447
|
+
platform-api
|
448
|
+
|
449
|
+
rainbow
|
450
|
+
|
451
|
+
selenium-webdriver
|
452
|
+
|
453
|
+
|
454
|
+
|
455
|
+
RUBY VERSION
|
456
|
+
|
457
|
+
ruby 2.7.2p137
|
458
|
+
|
459
|
+
|
460
|
+
|
461
|
+
BUNDLED WITH
|
462
|
+
|
463
|
+
2.2.14
|
464
|
+
|
465
|
+
|
466
|
+
|
467
|
+
```
|
468
|
+
|
469
|
+
|
470
|
+
|
471
|
+
|
472
|
+
|
473
|
+
Google drive関係のGemのバージョンは共通でした
|
474
|
+
|
475
|
+
```ここに言語を入力
|
476
|
+
|
477
|
+
$ gem search google_drive
|
478
|
+
|
479
|
+
|
480
|
+
|
481
|
+
*** REMOTE GEMS ***
|
482
|
+
|
483
|
+
|
484
|
+
|
485
|
+
activestorage_google_drive (0.1.1)
|
486
|
+
|
487
|
+
carrierwave-google_drive (0.0.2)
|
488
|
+
|
489
|
+
fastlane-plugin-google_drive (0.6.0)
|
490
|
+
|
491
|
+
google_drive (3.0.6)
|
492
|
+
|
493
|
+
google_drive-persistent_session (0.1.3)
|
494
|
+
|
495
|
+
google_drive_companion (0.1.0)
|
496
|
+
|
497
|
+
google_drive_dotenv (0.4.0)
|
498
|
+
|
499
|
+
google_drive_handler (0.1.0)
|
500
|
+
|
501
|
+
google_drive_oauth (1.0.1)
|
502
|
+
|
503
|
+
google_driver (0.0.3)
|
504
|
+
|
505
|
+
middleman-google_drive (0.3.13)
|
506
|
+
|
507
|
+
parallel588_google_drive (0.3.4)
|
508
|
+
|
509
|
+
shrine-google_drive_storage (0.4.4)
|
510
|
+
|
511
|
+
simple_google_drive (0.5.1)
|
512
|
+
|
513
|
+
tumugi-plugin-google_drive (0.4.0)
|
514
|
+
|
515
|
+
```
|
516
|
+
|
517
|
+
|
518
|
+
|
519
|
+
|
520
|
+
|
521
|
+
環境差異というほどの物が何なのか見当たらない状態です。
|
522
|
+
|
41
523
|
何が考えられるでしょうか?
|
42
524
|
|
43
|
-
|
525
|
+
アドバイスいただけますと幸いです。
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
```ここに言語を入力
|
48
|
-
|
49
|
-
$ ruby rb/test8_sheet.rb
|
50
|
-
|
51
|
-
#<GoogleDrive::Session:0x21c>
|
52
|
-
|
53
|
-
Traceback (most recent call last):
|
54
|
-
|
55
|
-
22: from rb/test8_sheet.rb:7:in `<main>'
|
56
|
-
|
57
|
-
21: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/google_drive-3.0.6/lib/google_drive/session.rb:493:in `create_spreadsheet'
|
58
|
-
|
59
|
-
20: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/google_drive-3.0.6/lib/google_drive/session.rb:510:in `create_file'
|
60
|
-
|
61
|
-
19: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/google-api-client-0.53.0/generated/google/apis/drive_v3/service.rb:918:in `create_file'
|
62
|
-
|
63
|
-
18: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/google-apis-core-0.3.0/lib/google/apis/core/base_service.rb:377:in `execute_or_queue_command'
|
64
|
-
|
65
|
-
17: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/google-apis-core-0.3.0/lib/google/apis/core/http_command.rb:99:in `execute'
|
66
|
-
|
67
|
-
16: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/google-apis-core-0.3.0/lib/google/apis/core/api_command.rb:81:in `prepare!'
|
68
|
-
|
69
|
-
15: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/representable-3.0.4/lib/representable/json.rb:44:in `to_json'
|
70
|
-
|
71
|
-
14: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/representable-3.0.4/lib/representable/hash.rb:34:in `to_hash'
|
72
|
-
|
73
|
-
13: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/representable-3.0.4/lib/representable.rb:45:in `create_representation_with'
|
74
|
-
|
75
|
-
12: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/representable-3.0.4/lib/representable.rb:70:in `representable_map!'
|
76
|
-
|
77
|
-
11: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/representable-3.0.4/lib/representable.rb:51:in `call'
|
78
|
-
|
79
|
-
10: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/representable-3.0.4/lib/representable.rb:51:in `each'
|
80
|
-
|
81
|
-
9: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/representable-3.0.4/lib/representable.rb:53:in `block in call'
|
82
|
-
|
83
|
-
8: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/representable-3.0.4/lib/representable/binding.rb:32:in `compile_fragment'
|
84
|
-
|
85
|
-
7: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/representable-3.0.4/lib/representable/pipeline.rb:9:in `call'
|
86
|
-
|
87
|
-
6: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/representable-3.0.4/lib/representable/pipeline.rb:9:in `inject'
|
88
|
-
|
89
|
-
5: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/representable-3.0.4/lib/representable/pipeline.rb:9:in `each'
|
90
|
-
|
91
|
-
4: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/representable-3.0.4/lib/representable/pipeline.rb:10:in `block in call'
|
92
|
-
|
93
|
-
3: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/representable-3.0.4/lib/representable/pipeline.rb:18:in `evaluate'
|
94
|
-
|
95
|
-
2: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/representable-3.0.4/lib/representable/pipeline.rb:47:in `call'
|
96
|
-
|
97
|
-
1: from /home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/representable-3.0.4/lib/representable/pipeline.rb:47:in `tap'
|
98
|
-
|
99
|
-
/home/user1/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/representable-3.0.4/lib/representable/pipeline.rb:48:in `block in call': undefined method `each' for nil:NilClass (NoMethodError)
|
100
|
-
|
101
|
-
```
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
```Gemfile
|
108
|
-
|
109
|
-
source 'https://rubygems.org'
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
ruby "2.7.2"
|
114
|
-
|
115
|
-
gem 'google_drive'
|
116
|
-
|
117
|
-
gem "selenium-webdriver"
|
118
|
-
|
119
|
-
# gem 'webdrivers'
|
120
|
-
|
121
|
-
gem "platform-api"
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
gem 'rainbow'
|
126
|
-
|
127
|
-
gem 'dotenv-rails'
|
128
|
-
|
129
|
-
gem 'nokogiri', '>= 1.5.3', '<2.0.0'
|
130
|
-
|
131
|
-
gem 'parallel'
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
```
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
```Gemfile.lock
|
142
|
-
|
143
|
-
GEM
|
144
|
-
|
145
|
-
remote: https://rubygems.org/
|
146
|
-
|
147
|
-
specs:
|
148
|
-
|
149
|
-
actionpack (6.1.3)
|
150
|
-
|
151
|
-
actionview (= 6.1.3)
|
152
|
-
|
153
|
-
activesupport (= 6.1.3)
|
154
|
-
|
155
|
-
rack (~> 2.0, >= 2.0.9)
|
156
|
-
|
157
|
-
rack-test (>= 0.6.3)
|
158
|
-
|
159
|
-
rails-dom-testing (~> 2.0)
|
160
|
-
|
161
|
-
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
162
|
-
|
163
|
-
actionview (6.1.3)
|
164
|
-
|
165
|
-
activesupport (= 6.1.3)
|
166
|
-
|
167
|
-
builder (~> 3.1)
|
168
|
-
|
169
|
-
erubi (~> 1.4)
|
170
|
-
|
171
|
-
rails-dom-testing (~> 2.0)
|
172
|
-
|
173
|
-
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
174
|
-
|
175
|
-
activesupport (6.1.3)
|
176
|
-
|
177
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
178
|
-
|
179
|
-
i18n (>= 1.6, < 2)
|
180
|
-
|
181
|
-
minitest (>= 5.1)
|
182
|
-
|
183
|
-
tzinfo (~> 2.0)
|
184
|
-
|
185
|
-
zeitwerk (~> 2.3)
|
186
|
-
|
187
|
-
addressable (2.7.0)
|
188
|
-
|
189
|
-
public_suffix (>= 2.0.2, < 5.0)
|
190
|
-
|
191
|
-
builder (3.2.4)
|
192
|
-
|
193
|
-
childprocess (3.0.0)
|
194
|
-
|
195
|
-
concurrent-ruby (1.1.8)
|
196
|
-
|
197
|
-
crass (1.0.6)
|
198
|
-
|
199
|
-
declarative (0.0.20)
|
200
|
-
|
201
|
-
declarative-option (0.1.0)
|
202
|
-
|
203
|
-
dotenv (2.7.6)
|
204
|
-
|
205
|
-
dotenv-rails (2.7.6)
|
206
|
-
|
207
|
-
dotenv (= 2.7.6)
|
208
|
-
|
209
|
-
railties (>= 3.2)
|
210
|
-
|
211
|
-
erubi (1.10.0)
|
212
|
-
|
213
|
-
erubis (2.7.0)
|
214
|
-
|
215
|
-
excon (0.79.0)
|
216
|
-
|
217
|
-
faraday (1.3.0)
|
218
|
-
|
219
|
-
faraday-net_http (~> 1.0)
|
220
|
-
|
221
|
-
multipart-post (>= 1.2, < 3)
|
222
|
-
|
223
|
-
ruby2_keywords
|
224
|
-
|
225
|
-
faraday-net_http (1.0.1)
|
226
|
-
|
227
|
-
gems (1.2.0)
|
228
|
-
|
229
|
-
google-api-client (0.53.0)
|
230
|
-
|
231
|
-
google-apis-core (~> 0.1)
|
232
|
-
|
233
|
-
google-apis-generator (~> 0.1)
|
234
|
-
|
235
|
-
google-apis-core (0.3.0)
|
236
|
-
|
237
|
-
addressable (~> 2.5, >= 2.5.1)
|
238
|
-
|
239
|
-
googleauth (~> 0.14)
|
240
|
-
|
241
|
-
httpclient (>= 2.8.1, < 3.0)
|
242
|
-
|
243
|
-
mini_mime (~> 1.0)
|
244
|
-
|
245
|
-
representable (~> 3.0)
|
246
|
-
|
247
|
-
retriable (>= 2.0, < 4.0)
|
248
|
-
|
249
|
-
rexml
|
250
|
-
|
251
|
-
signet (~> 0.14)
|
252
|
-
|
253
|
-
webrick
|
254
|
-
|
255
|
-
google-apis-discovery_v1 (0.2.0)
|
256
|
-
|
257
|
-
google-apis-core (~> 0.1)
|
258
|
-
|
259
|
-
google-apis-generator (0.2.0)
|
260
|
-
|
261
|
-
activesupport (>= 5.0)
|
262
|
-
|
263
|
-
gems (~> 1.2)
|
264
|
-
|
265
|
-
google-apis-core (~> 0.1)
|
266
|
-
|
267
|
-
google-apis-discovery_v1 (~> 0.0)
|
268
|
-
|
269
|
-
thor (>= 0.20, < 2.a)
|
270
|
-
|
271
|
-
google_drive (3.0.6)
|
272
|
-
|
273
|
-
google-api-client (>= 0.11.0, < 1.0.0)
|
274
|
-
|
275
|
-
googleauth (>= 0.5.0, < 1.0.0)
|
276
|
-
|
277
|
-
nokogiri (>= 1.5.3, < 2.0.0)
|
278
|
-
|
279
|
-
googleauth (0.16.0)
|
280
|
-
|
281
|
-
faraday (>= 0.17.3, < 2.0)
|
282
|
-
|
283
|
-
jwt (>= 1.4, < 3.0)
|
284
|
-
|
285
|
-
memoist (~> 0.16)
|
286
|
-
|
287
|
-
multi_json (~> 1.11)
|
288
|
-
|
289
|
-
os (>= 0.9, < 2.0)
|
290
|
-
|
291
|
-
signet (~> 0.14)
|
292
|
-
|
293
|
-
heroics (0.1.2)
|
294
|
-
|
295
|
-
erubis (~> 2.0)
|
296
|
-
|
297
|
-
excon
|
298
|
-
|
299
|
-
moneta
|
300
|
-
|
301
|
-
multi_json (>= 1.9.2)
|
302
|
-
|
303
|
-
webrick
|
304
|
-
|
305
|
-
httpclient (2.8.3)
|
306
|
-
|
307
|
-
i18n (1.8.9)
|
308
|
-
|
309
|
-
concurrent-ruby (~> 1.0)
|
310
|
-
|
311
|
-
jwt (2.2.2)
|
312
|
-
|
313
|
-
loofah (2.9.0)
|
314
|
-
|
315
|
-
crass (~> 1.0.2)
|
316
|
-
|
317
|
-
nokogiri (>= 1.5.9)
|
318
|
-
|
319
|
-
memoist (0.16.2)
|
320
|
-
|
321
|
-
method_source (1.0.0)
|
322
|
-
|
323
|
-
mini_mime (1.0.2)
|
324
|
-
|
325
|
-
minitest (5.14.4)
|
326
|
-
|
327
|
-
moneta (1.0.0)
|
328
|
-
|
329
|
-
multi_json (1.15.0)
|
330
|
-
|
331
|
-
multipart-post (2.1.1)
|
332
|
-
|
333
|
-
nokogiri (1.11.2-x86_64-linux)
|
334
|
-
|
335
|
-
racc (~> 1.4)
|
336
|
-
|
337
|
-
os (1.1.1)
|
338
|
-
|
339
|
-
parallel (1.20.1)
|
340
|
-
|
341
|
-
platform-api (3.3.0)
|
342
|
-
|
343
|
-
heroics (~> 0.1.1)
|
344
|
-
|
345
|
-
moneta (~> 1.0.0)
|
346
|
-
|
347
|
-
rate_throttle_client (~> 0.1.0)
|
348
|
-
|
349
|
-
public_suffix (4.0.6)
|
350
|
-
|
351
|
-
racc (1.5.2)
|
352
|
-
|
353
|
-
rack (2.2.3)
|
354
|
-
|
355
|
-
rack-test (1.1.0)
|
356
|
-
|
357
|
-
rack (>= 1.0, < 3)
|
358
|
-
|
359
|
-
rails-dom-testing (2.0.3)
|
360
|
-
|
361
|
-
activesupport (>= 4.2.0)
|
362
|
-
|
363
|
-
nokogiri (>= 1.6)
|
364
|
-
|
365
|
-
rails-html-sanitizer (1.3.0)
|
366
|
-
|
367
|
-
loofah (~> 2.3)
|
368
|
-
|
369
|
-
railties (6.1.3)
|
370
|
-
|
371
|
-
actionpack (= 6.1.3)
|
372
|
-
|
373
|
-
activesupport (= 6.1.3)
|
374
|
-
|
375
|
-
method_source
|
376
|
-
|
377
|
-
rake (>= 0.8.7)
|
378
|
-
|
379
|
-
thor (~> 1.0)
|
380
|
-
|
381
|
-
rainbow (3.0.0)
|
382
|
-
|
383
|
-
rake (13.0.3)
|
384
|
-
|
385
|
-
rate_throttle_client (0.1.2)
|
386
|
-
|
387
|
-
representable (3.0.4)
|
388
|
-
|
389
|
-
declarative (< 0.1.0)
|
390
|
-
|
391
|
-
declarative-option (< 0.2.0)
|
392
|
-
|
393
|
-
uber (< 0.2.0)
|
394
|
-
|
395
|
-
retriable (3.1.2)
|
396
|
-
|
397
|
-
rexml (3.2.4)
|
398
|
-
|
399
|
-
ruby2_keywords (0.0.4)
|
400
|
-
|
401
|
-
rubyzip (2.3.0)
|
402
|
-
|
403
|
-
selenium-webdriver (3.142.7)
|
404
|
-
|
405
|
-
childprocess (>= 0.5, < 4.0)
|
406
|
-
|
407
|
-
rubyzip (>= 1.2.2)
|
408
|
-
|
409
|
-
signet (0.15.0)
|
410
|
-
|
411
|
-
addressable (~> 2.3)
|
412
|
-
|
413
|
-
faraday (>= 0.17.3, < 2.0)
|
414
|
-
|
415
|
-
jwt (>= 1.5, < 3.0)
|
416
|
-
|
417
|
-
multi_json (~> 1.10)
|
418
|
-
|
419
|
-
thor (1.1.0)
|
420
|
-
|
421
|
-
tzinfo (2.0.4)
|
422
|
-
|
423
|
-
concurrent-ruby (~> 1.0)
|
424
|
-
|
425
|
-
uber (0.1.0)
|
426
|
-
|
427
|
-
webrick (1.7.0)
|
428
|
-
|
429
|
-
zeitwerk (2.4.2)
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
PLATFORMS
|
434
|
-
|
435
|
-
x86_64-linux
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
DEPENDENCIES
|
440
|
-
|
441
|
-
dotenv-rails
|
442
|
-
|
443
|
-
google_drive
|
444
|
-
|
445
|
-
nokogiri (>= 1.5.3, < 2.0.0)
|
446
|
-
|
447
|
-
parallel
|
448
|
-
|
449
|
-
platform-api
|
450
|
-
|
451
|
-
rainbow
|
452
|
-
|
453
|
-
selenium-webdriver
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
RUBY VERSION
|
458
|
-
|
459
|
-
ruby 2.7.2p137
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
BUNDLED WITH
|
464
|
-
|
465
|
-
2.2.14
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
```
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
```ここに言語を入力
|
476
|
-
|
477
|
-
$ gem search google_drive
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
*** REMOTE GEMS ***
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
activestorage_google_drive (0.1.1)
|
486
|
-
|
487
|
-
carrierwave-google_drive (0.0.2)
|
488
|
-
|
489
|
-
fastlane-plugin-google_drive (0.6.0)
|
490
|
-
|
491
|
-
google_drive (3.0.6)
|
492
|
-
|
493
|
-
google_drive-persistent_session (0.1.3)
|
494
|
-
|
495
|
-
google_drive_companion (0.1.0)
|
496
|
-
|
497
|
-
google_drive_dotenv (0.4.0)
|
498
|
-
|
499
|
-
google_drive_handler (0.1.0)
|
500
|
-
|
501
|
-
google_drive_oauth (1.0.1)
|
502
|
-
|
503
|
-
google_driver (0.0.3)
|
504
|
-
|
505
|
-
middleman-google_drive (0.3.13)
|
506
|
-
|
507
|
-
parallel588_google_drive (0.3.4)
|
508
|
-
|
509
|
-
shrine-google_drive_storage (0.4.4)
|
510
|
-
|
511
|
-
simple_google_drive (0.5.1)
|
512
|
-
|
513
|
-
tumugi-plugin-google_drive (0.4.0)
|
514
|
-
|
515
|
-
```
|
1
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -16,7 +16,7 @@
|
|
16
16
|
|
17
17
|
|
18
18
|
|
19
|
-
```ruby
|
19
|
+
```ruby
|
20
20
|
|
21
21
|
require "google_drive"
|
22
22
|
|
@@ -467,3 +467,49 @@
|
|
467
467
|
|
468
468
|
|
469
469
|
```
|
470
|
+
|
471
|
+
|
472
|
+
|
473
|
+
|
474
|
+
|
475
|
+
```ここに言語を入力
|
476
|
+
|
477
|
+
$ gem search google_drive
|
478
|
+
|
479
|
+
|
480
|
+
|
481
|
+
*** REMOTE GEMS ***
|
482
|
+
|
483
|
+
|
484
|
+
|
485
|
+
activestorage_google_drive (0.1.1)
|
486
|
+
|
487
|
+
carrierwave-google_drive (0.0.2)
|
488
|
+
|
489
|
+
fastlane-plugin-google_drive (0.6.0)
|
490
|
+
|
491
|
+
google_drive (3.0.6)
|
492
|
+
|
493
|
+
google_drive-persistent_session (0.1.3)
|
494
|
+
|
495
|
+
google_drive_companion (0.1.0)
|
496
|
+
|
497
|
+
google_drive_dotenv (0.4.0)
|
498
|
+
|
499
|
+
google_drive_handler (0.1.0)
|
500
|
+
|
501
|
+
google_drive_oauth (1.0.1)
|
502
|
+
|
503
|
+
google_driver (0.0.3)
|
504
|
+
|
505
|
+
middleman-google_drive (0.3.13)
|
506
|
+
|
507
|
+
parallel588_google_drive (0.3.4)
|
508
|
+
|
509
|
+
shrine-google_drive_storage (0.4.4)
|
510
|
+
|
511
|
+
simple_google_drive (0.5.1)
|
512
|
+
|
513
|
+
tumugi-plugin-google_drive (0.4.0)
|
514
|
+
|
515
|
+
```
|