質問編集履歴

2

エラーコード

2021/09/06 01:01

投稿

HirotoShoji
HirotoShoji

スコア1

test CHANGED
File without changes
test CHANGED
@@ -70,334 +70,292 @@
70
70
 
71
71
 
72
72
 
73
- ...
74
-
75
73
 
76
74
 
77
75
  ## Backtrace
78
76
 
79
77
 
80
78
 
79
+ Errno::EACCES: Permission denied @ rb_sysopen - /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/rails-6.1.4.1/README.md
80
+
81
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package.rb:424:in `initialize'
82
+
83
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package.rb:424:in `open'
84
+
85
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package.rb:424:in `block (2 levels) in extract_tar_gz'
86
+
87
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package/tar_reader.rb:65:in `each'
88
+
89
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package.rb:405:in `block in extract_tar_gz'
90
+
91
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package.rb:534:in `block in open_tar_gz'
92
+
93
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package.rb:531:in `wrap'
94
+
95
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package.rb:531:in `open_tar_gz'
96
+
97
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package.rb:404:in `extract_tar_gz'
98
+
99
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package.rb:384:in `block (2 levels) in extract_files'
100
+
101
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package/tar_reader.rb:65:in `each'
102
+
103
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package.rb:381:in `block in extract_files'
104
+
105
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package/file_source.rb:29:in `open'
106
+
107
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package/file_source.rb:29:in `with_read_io'
108
+
109
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package.rb:378:in `extract_files'
110
+
111
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/installer.rb:837:in `extract_files'
112
+
113
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.27/lib/bundler/rubygems_gem_installer.rb:24:in `install'
114
+
115
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.27/lib/bundler/source/rubygems.rb:199:in `install'
116
+
117
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.27/lib/bundler/installer/gem_installer.rb:54:in `install'
118
+
119
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.27/lib/bundler/installer/gem_installer.rb:16:in `install_from_spec'
120
+
121
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.27/lib/bundler/installer/parallel_installer.rb:186:in `do_install'
122
+
123
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.27/lib/bundler/installer/parallel_installer.rb:177:in `block in worker_pool'
124
+
125
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.27/lib/bundler/worker.rb:62:in `apply_func'
126
+
127
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.27/lib/bundler/worker.rb:57:in `block in process_queue'
128
+
129
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.27/lib/bundler/worker.rb:54:in `loop'
130
+
131
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.27/lib/bundler/worker.rb:54:in `process_queue'
132
+
133
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.27/lib/bundler/worker.rb:91:in `block (2 levels) in create_threads'
134
+
135
+ ## Environment
136
+
137
+ Bundler 2.2.27
138
+
139
+ Platforms ruby, x86_64-darwin-19
140
+
141
+ Ruby 3.0.2p107 (2021-07-07 revision 0db68f023372b634603c74fca94588b457be084c) [x86_64-darwin19]
142
+
143
+ Full Path /Users/shojihiroto/.rbenv/versions/3.0.2/bin/ruby
144
+
145
+ Config Dir /Users/shojihiroto/.rbenv/versions/3.0.2/etc
146
+
147
+ RubyGems 3.2.22
148
+
149
+ Gem Home /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0
150
+
151
+ Gem Path /Users/shojihiroto/.gem/ruby/3.0.0:/Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0
152
+
153
+ User Home /Users/shojihiroto
154
+
155
+ User Path /Users/shojihiroto/.gem/ruby/3.0.0
156
+
157
+ Bin Dir /Users/shojihiroto/.rbenv/versions/3.0.2/bin
158
+
159
+ OpenSSL
160
+
161
+ Compiled OpenSSL 1.1.1l 24 Aug 2021
162
+
163
+ Loaded OpenSSL 1.1.1l 24 Aug 2021
164
+
165
+ Cert File /Users/shojihiroto/.rbenv/versions/3.0.2/openssl/ssl/cert.pem
166
+
167
+ Cert Dir /Users/shojihiroto/.rbenv/versions/3.0.2/openssl/ssl/certs
168
+
169
+ Tools
170
+
171
+ Git 2.24.3 (Apple Git-128)
172
+
173
+ RVM not installed
174
+
175
+ rbenv rbenv 1.1.2
176
+
177
+ chruby not installed
178
+
179
+ ## Bundler Build Metadata
180
+
181
+ Built At 2021-09-03
182
+
183
+ Git SHA b737e1c930
184
+
185
+ Released Version true
186
+
187
+ ## Bundler settings
188
+
189
+ ignore_messages
190
+
191
+ Set via BUNDLE_IGNORE_MESSAGES: true
192
+
193
+ ## Gemfile
194
+
195
+
196
+
197
+ ### Gemfile
198
+
199
+ ruby
200
+
201
+ source 'https://rubygems.org'
202
+
203
+ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
204
+
205
+
206
+
207
+ ruby '3.0.2'
208
+
209
+
210
+
211
+ # Bundle edge Rails instead: gem 'rails', github: 'rails/rails', branch: 'main'
212
+
213
+ gem 'rails', '~> 6.1.4', '>= 6.1.4.1'
214
+
215
+ # Use sqlite3 as the database for Active Record
216
+
217
+ gem 'sqlite3', '~> 1.4'
218
+
219
+ # Use Puma as the app server
220
+
221
+ gem 'puma', '~> 5.0'
222
+
223
+ # Use SCSS for stylesheets
224
+
225
+ gem 'sass-rails', '>= 6'
226
+
227
+ # Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
228
+
229
+ gem 'webpacker', '~> 5.0'
230
+
231
+ # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
232
+
233
+ gem 'turbolinks', '~> 5'
234
+
235
+ # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
236
+
237
+ gem 'jbuilder', '~> 2.7'
238
+
239
+ # Use Redis adapter to run Action Cable in production
240
+
241
+ # gem 'redis', '~> 4.0'
242
+
243
+ # Use Active Model has_secure_password
244
+
245
+ # gem 'bcrypt', '~> 3.1.7'
246
+
247
+
248
+
249
+ # Use Active Storage variant
250
+
251
+ # gem 'image_processing', '~> 1.2'
252
+
253
+
254
+
255
+ # Reduces boot times through caching; required in config/boot.rb
256
+
257
+ gem 'bootsnap', '>= 1.4.4', require: false
258
+
259
+
260
+
261
+ group :development, :test do
262
+
263
+ # Call 'byebug' anywhere in the code to stop execution and get a debugger console
264
+
265
+ gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
266
+
267
+ end
268
+
269
+
270
+
271
+ group :development do
272
+
273
+ # Access an interactive console on exception pages or by calling 'console' anywhere in the code.
274
+
275
+ gem 'web-console', '>= 4.1.0'
276
+
277
+ # Display performance information such as SQL time and flame graphs for each request in your browser.
278
+
279
+ # Can be configured to work on production as well see: https://github.com/MiniProfiler/rack-mini-profiler/blob/master/README.md
280
+
281
+ gem 'rack-mini-profiler', '~> 2.0'
282
+
283
+ gem 'listen', '~> 3.3'
284
+
285
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
286
+
287
+ gem 'spring'
288
+
289
+ end
290
+
291
+
292
+
293
+ group :test do
294
+
295
+ # Adds support for Capybara system testing and selenium driver
296
+
297
+ gem 'capybara', '>= 3.26'
298
+
299
+ gem 'selenium-webdriver'
300
+
301
+ # Easy installation and use of web drivers to run system tests with browsers
302
+
303
+ gem 'webdrivers'
304
+
305
+ end
306
+
307
+
308
+
309
+ # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
310
+
311
+ gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
312
+
313
+ ###Gemfile.lock
314
+
315
+
316
+
317
+ <No /Users/shojihiroto/Desktop/RailsApp/Gemfile.lock found>
318
+
319
+
320
+
321
+ Unfortunately, an unexpected error occurred, and Bundler cannot continue.
322
+
323
+
324
+
325
+ First, try this link to see if there are any existing issue reports for this error:
326
+
327
+ https://github.com/rubygems/rubygems/search?q=Permission+denied+%40+rb_sysopen+-+%2FUsers%2Fshojihiroto%2F.rbenv%2Fversions%2F3.0.2%2Flib%2Fruby%2Fgems%2F3.0.0%2Fgems%2Frails-6.1.4.1%2FREADME.md&type=Issues
328
+
329
+
330
+
331
+ If there aren't any reports for this error yet, please copy and paste the report template above into a new issue. Don't forget to anonymize any private data! The new issue form is located at:
332
+
333
+ https://github.com/rubygems/rubygems/issues/new?labels=Bundler&template=bundler-related-issue.md
334
+
335
+ run bundle binstubs bundler
336
+
337
+ Could not find gem 'rails (~> 6.1.4, >= 6.1.4.1)' in locally installed gems.
338
+
339
+ rails webpacker:install
340
+
341
+ Could not find gem 'rails (~> 6.1.4, >= 6.1.4.1)' in locally installed gems.
342
+
343
+ Run `bundle install` to install missing gems.
344
+
345
+
346
+
81
347
  ```
82
348
 
83
- Errno::EACCES: Permission denied @ rb_sysopen - /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/rails-6.1.4.1/README.md
349
+
84
-
85
- /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package.rb:424:in `initialize'
350
+
86
-
87
- /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package.rb:424:in `open'
88
-
89
- /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package.rb:424:in `block (2 levels) in extract_tar_gz'
90
-
91
- /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package/tar_reader.rb:65:in `each'
92
-
93
- /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package.rb:405:in `block in extract_tar_gz'
94
-
95
- /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package.rb:534:in `block in open_tar_gz'
96
-
97
- /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package.rb:531:in `wrap'
98
-
99
- /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package.rb:531:in `open_tar_gz'
100
-
101
- /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package.rb:404:in `extract_tar_gz'
102
-
103
- /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package.rb:384:in `block (2 levels) in extract_files'
104
-
105
- /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package/tar_reader.rb:65:in `each'
106
-
107
- /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package.rb:381:in `block in extract_files'
108
-
109
- /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package/file_source.rb:29:in `open'
110
-
111
- /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package/file_source.rb:29:in `with_read_io'
112
-
113
- /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package.rb:378:in `extract_files'
114
-
115
- /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/installer.rb:837:in `extract_files'
116
-
117
- /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.27/lib/bundler/rubygems_gem_installer.rb:24:in `install'
118
-
119
- /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.27/lib/bundler/source/rubygems.rb:199:in `install'
120
-
121
- /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.27/lib/bundler/installer/gem_installer.rb:54:in `install'
122
-
123
- /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.27/lib/bundler/installer/gem_installer.rb:16:in `install_from_spec'
124
-
125
- /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.27/lib/bundler/installer/parallel_installer.rb:186:in `do_install'
126
-
127
- /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.27/lib/bundler/installer/parallel_installer.rb:177:in `block in worker_pool'
128
-
129
- /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.27/lib/bundler/worker.rb:62:in `apply_func'
130
-
131
- /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.27/lib/bundler/worker.rb:57:in `block in process_queue'
132
-
133
- /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.27/lib/bundler/worker.rb:54:in `loop'
134
-
135
- /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.27/lib/bundler/worker.rb:54:in `process_queue'
136
-
137
- /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.27/lib/bundler/worker.rb:91:in `block (2 levels) in create_threads'
138
-
139
- ```
140
-
141
-
142
-
143
- ## Environment
144
-
145
-
146
-
147
- ```
148
-
149
- Bundler 2.2.27
150
-
151
- Platforms ruby, x86_64-darwin-19
152
-
153
- Ruby 3.0.2p107 (2021-07-07 revision 0db68f023372b634603c74fca94588b457be084c) [x86_64-darwin19]
154
-
155
- Full Path /Users/shojihiroto/.rbenv/versions/3.0.2/bin/ruby
156
-
157
- Config Dir /Users/shojihiroto/.rbenv/versions/3.0.2/etc
158
-
159
- RubyGems 3.2.22
160
-
161
- Gem Home /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0
162
-
163
- Gem Path /Users/shojihiroto/.gem/ruby/3.0.0:/Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0
164
-
165
- User Home /Users/shojihiroto
166
-
167
- User Path /Users/shojihiroto/.gem/ruby/3.0.0
168
-
169
- Bin Dir /Users/shojihiroto/.rbenv/versions/3.0.2/bin
170
-
171
- OpenSSL
172
-
173
- Compiled OpenSSL 1.1.1l 24 Aug 2021
174
-
175
- Loaded OpenSSL 1.1.1l 24 Aug 2021
176
-
177
- Cert File /Users/shojihiroto/.rbenv/versions/3.0.2/openssl/ssl/cert.pem
178
-
179
- Cert Dir /Users/shojihiroto/.rbenv/versions/3.0.2/openssl/ssl/certs
180
-
181
- Tools
182
-
183
- Git 2.24.3 (Apple Git-128)
184
-
185
- RVM not installed
186
-
187
- rbenv rbenv 1.1.2
188
-
189
- chruby not installed
190
-
191
- ```
192
-
193
-
194
-
195
- ## Bundler Build Metadata
196
-
197
-
198
-
199
- ```
200
-
201
- Built At 2021-09-03
202
-
203
- Git SHA b737e1c930
204
-
205
- Released Version true
206
-
207
- ```
208
-
209
-
210
-
211
- ## Bundler settings
212
-
213
-
214
-
215
- ```
216
-
217
- ignore_messages
218
-
219
- Set via BUNDLE_IGNORE_MESSAGES: true
220
-
221
- ```
222
-
223
-
224
-
225
- ## Gemfile
226
-
227
-
228
-
229
- ### Gemfile
351
+ ### 試したこと
230
-
231
-
232
-
233
- ```ruby
352
+
234
-
235
- source 'https://rubygems.org'
236
-
237
- git_source(:github) { |repo| "https://github.com/#{repo}.git" }
238
-
239
-
240
-
241
- ruby '3.0.2'
242
-
243
-
244
-
245
- # Bundle edge Rails instead: gem 'rails', github: 'rails/rails', branch: 'main'
246
-
247
- gem 'rails', '~> 6.1.4', '>= 6.1.4.1'
248
-
249
- # Use sqlite3 as the database for Active Record
250
-
251
- gem 'sqlite3', '~> 1.4'
252
-
253
- # Use Puma as the app server
254
-
255
- gem 'puma', '~> 5.0'
256
-
257
- # Use SCSS for stylesheets
258
-
259
- gem 'sass-rails', '>= 6'
260
-
261
- # Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
262
-
263
- gem 'webpacker', '~> 5.0'
264
-
265
- # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
266
-
267
- gem 'turbolinks', '~> 5'
268
-
269
- # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
270
-
271
- gem 'jbuilder', '~> 2.7'
272
-
273
- # Use Redis adapter to run Action Cable in production
274
-
275
- # gem 'redis', '~> 4.0'
276
-
277
- # Use Active Model has_secure_password
278
-
279
- # gem 'bcrypt', '~> 3.1.7'
280
-
281
-
282
-
283
- # Use Active Storage variant
284
-
285
- # gem 'image_processing', '~> 1.2'
286
-
287
-
288
-
289
- # Reduces boot times through caching; required in config/boot.rb
290
-
291
- gem 'bootsnap', '>= 1.4.4', require: false
292
-
293
-
294
-
295
- group :development, :test do
296
-
297
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
298
-
299
- gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
300
-
301
- end
302
-
303
-
304
-
305
- group :development do
353
+ 上記エラーより、以下2つを実行しました。
306
-
307
- # Access an interactive console on exception pages or by calling 'console' anywhere in the code.
354
+
308
-
309
- gem 'web-console', '>= 4.1.0'
310
-
311
- # Display performance information such as SQL time and flame graphs for each request in your browser.
312
-
313
- # Can be configured to work on production as well see: https://github.com/MiniProfiler/rack-mini-profiler/blob/master/README.md
314
-
315
- gem 'rack-mini-profiler', '~> 2.0'
316
-
317
- gem 'listen', '~> 3.3'
318
-
319
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
320
-
321
- gem 'spring'
322
-
323
- end
324
-
325
-
326
-
327
- group :test do
355
+ ①上記指定のURLにアクセス
328
-
329
- # Adds support for Capybara system testing and selenium driver
330
-
331
- gem 'capybara', '>= 3.26'
332
-
333
- gem 'selenium-webdriver'
334
-
335
- # Easy installation and use of web drivers to run system tests with browsers
336
-
337
- gem 'webdrivers'
338
-
339
- end
340
-
341
-
342
-
343
- # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
344
-
345
- gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
346
-
347
- ```
348
-
349
-
350
-
351
- ### Gemfile.lock
352
-
353
-
354
-
355
- ```
356
-
357
- <No /Users/shojihiroto/Desktop/RailsApp/Gemfile.lock found>
358
-
359
- ```
360
-
361
-
362
-
363
- Unfortunately, an unexpected error occurred, and Bundler cannot continue.
364
-
365
-
366
-
367
- First, try this link to see if there are any existing issue reports for this error:
368
356
 
369
357
  https://github.com/rubygems/rubygems/search?q=Permission+denied+%40+rb_sysopen+-+%2FUsers%2Fshojihiroto%2F.rbenv%2Fversions%2F3.0.2%2Flib%2Fruby%2Fgems%2F3.0.0%2Fgems%2Frails-6.1.4.1%2FREADME.md&type=Issues
370
358
 
371
-
372
-
373
- If there aren't any reports for this error yet, please copy and paste the report template above into a new issue. Don't forget to anonymize any private data! The new issue form is located at:
374
-
375
- https://github.com/rubygems/rubygems/issues/new?labels=Bundler&template=bundler-related-issue.md
376
-
377
- run bundle binstubs bundler
378
-
379
- Could not find gem 'rails (~> 6.1.4, >= 6.1.4.1)' in locally installed gems.
380
-
381
- rails webpacker:install
382
-
383
- Could not find gem 'rails (~> 6.1.4, >= 6.1.4.1)' in locally installed gems.
384
-
385
- Run `bundle install` to install missing gems.
386
-
387
-
388
-
389
- ```
390
-
391
-
392
-
393
- ### 試したこと
394
-
395
- 上記エラーより、以下2つを実行しました。
396
-
397
- ①上記指定のURLにアクセス
398
-
399
- https://github.com/rubygems/rubygems/search?q=Permission+denied+%40+rb_sysopen+-+%2FUsers%2Fshojihiroto%2F.rbenv%2Fversions%2F3.0.2%2Flib%2Fruby%2Fgems%2F3.0.0%2Fgems%2Frails-6.1.4.1%2FREADME.md&type=Issues
400
-
401
359
  →特にエラーは発見されませんでした。
402
360
 
403
361
 

1

エラーレポートを追加しました。

2021/09/06 01:01

投稿

HirotoShoji
HirotoShoji

スコア1

test CHANGED
File without changes
test CHANGED
@@ -18,6 +18,348 @@
18
18
 
19
19
  ```
20
20
 
21
+ --- ERROR REPORT TEMPLATE -------------------------------------------------------
22
+
23
+ # Error Report
24
+
25
+
26
+
27
+ ## Questions
28
+
29
+
30
+
31
+ Please fill out answers to these questions, it'll help us figure out
32
+
33
+ why things are going wrong.
34
+
35
+
36
+
37
+ - **What did you do?**
38
+
39
+
40
+
41
+ I ran the command `/Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.27/exe/bundle install`
42
+
43
+
44
+
45
+ - **What did you expect to happen?**
46
+
47
+
48
+
49
+ I expected Bundler to...
50
+
51
+
52
+
53
+ - **What happened instead?**
54
+
55
+
56
+
57
+ Instead, what happened was...
58
+
59
+
60
+
61
+ - **Have you tried any solutions posted on similar issues in our issue tracker, stack overflow, or google?**
62
+
63
+
64
+
65
+ I tried...
66
+
67
+
68
+
69
+ - **Have you read our issues document, https://github.com/rubygems/rubygems/blob/master/bundler/doc/contributing/ISSUES.md?**
70
+
71
+
72
+
73
+ ...
74
+
75
+
76
+
77
+ ## Backtrace
78
+
79
+
80
+
81
+ ```
82
+
83
+ Errno::EACCES: Permission denied @ rb_sysopen - /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/rails-6.1.4.1/README.md
84
+
85
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package.rb:424:in `initialize'
86
+
87
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package.rb:424:in `open'
88
+
89
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package.rb:424:in `block (2 levels) in extract_tar_gz'
90
+
91
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package/tar_reader.rb:65:in `each'
92
+
93
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package.rb:405:in `block in extract_tar_gz'
94
+
95
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package.rb:534:in `block in open_tar_gz'
96
+
97
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package.rb:531:in `wrap'
98
+
99
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package.rb:531:in `open_tar_gz'
100
+
101
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package.rb:404:in `extract_tar_gz'
102
+
103
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package.rb:384:in `block (2 levels) in extract_files'
104
+
105
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package/tar_reader.rb:65:in `each'
106
+
107
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package.rb:381:in `block in extract_files'
108
+
109
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package/file_source.rb:29:in `open'
110
+
111
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package/file_source.rb:29:in `with_read_io'
112
+
113
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/package.rb:378:in `extract_files'
114
+
115
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/3.0.0/rubygems/installer.rb:837:in `extract_files'
116
+
117
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.27/lib/bundler/rubygems_gem_installer.rb:24:in `install'
118
+
119
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.27/lib/bundler/source/rubygems.rb:199:in `install'
120
+
121
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.27/lib/bundler/installer/gem_installer.rb:54:in `install'
122
+
123
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.27/lib/bundler/installer/gem_installer.rb:16:in `install_from_spec'
124
+
125
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.27/lib/bundler/installer/parallel_installer.rb:186:in `do_install'
126
+
127
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.27/lib/bundler/installer/parallel_installer.rb:177:in `block in worker_pool'
128
+
129
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.27/lib/bundler/worker.rb:62:in `apply_func'
130
+
131
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.27/lib/bundler/worker.rb:57:in `block in process_queue'
132
+
133
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.27/lib/bundler/worker.rb:54:in `loop'
134
+
135
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.27/lib/bundler/worker.rb:54:in `process_queue'
136
+
137
+ /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/bundler-2.2.27/lib/bundler/worker.rb:91:in `block (2 levels) in create_threads'
138
+
139
+ ```
140
+
141
+
142
+
143
+ ## Environment
144
+
145
+
146
+
147
+ ```
148
+
149
+ Bundler 2.2.27
150
+
151
+ Platforms ruby, x86_64-darwin-19
152
+
153
+ Ruby 3.0.2p107 (2021-07-07 revision 0db68f023372b634603c74fca94588b457be084c) [x86_64-darwin19]
154
+
155
+ Full Path /Users/shojihiroto/.rbenv/versions/3.0.2/bin/ruby
156
+
157
+ Config Dir /Users/shojihiroto/.rbenv/versions/3.0.2/etc
158
+
159
+ RubyGems 3.2.22
160
+
161
+ Gem Home /Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0
162
+
163
+ Gem Path /Users/shojihiroto/.gem/ruby/3.0.0:/Users/shojihiroto/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0
164
+
165
+ User Home /Users/shojihiroto
166
+
167
+ User Path /Users/shojihiroto/.gem/ruby/3.0.0
168
+
169
+ Bin Dir /Users/shojihiroto/.rbenv/versions/3.0.2/bin
170
+
171
+ OpenSSL
172
+
173
+ Compiled OpenSSL 1.1.1l 24 Aug 2021
174
+
175
+ Loaded OpenSSL 1.1.1l 24 Aug 2021
176
+
177
+ Cert File /Users/shojihiroto/.rbenv/versions/3.0.2/openssl/ssl/cert.pem
178
+
179
+ Cert Dir /Users/shojihiroto/.rbenv/versions/3.0.2/openssl/ssl/certs
180
+
181
+ Tools
182
+
183
+ Git 2.24.3 (Apple Git-128)
184
+
185
+ RVM not installed
186
+
187
+ rbenv rbenv 1.1.2
188
+
189
+ chruby not installed
190
+
191
+ ```
192
+
193
+
194
+
195
+ ## Bundler Build Metadata
196
+
197
+
198
+
199
+ ```
200
+
201
+ Built At 2021-09-03
202
+
203
+ Git SHA b737e1c930
204
+
205
+ Released Version true
206
+
207
+ ```
208
+
209
+
210
+
211
+ ## Bundler settings
212
+
213
+
214
+
215
+ ```
216
+
217
+ ignore_messages
218
+
219
+ Set via BUNDLE_IGNORE_MESSAGES: true
220
+
221
+ ```
222
+
223
+
224
+
225
+ ## Gemfile
226
+
227
+
228
+
229
+ ### Gemfile
230
+
231
+
232
+
233
+ ```ruby
234
+
235
+ source 'https://rubygems.org'
236
+
237
+ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
238
+
239
+
240
+
241
+ ruby '3.0.2'
242
+
243
+
244
+
245
+ # Bundle edge Rails instead: gem 'rails', github: 'rails/rails', branch: 'main'
246
+
247
+ gem 'rails', '~> 6.1.4', '>= 6.1.4.1'
248
+
249
+ # Use sqlite3 as the database for Active Record
250
+
251
+ gem 'sqlite3', '~> 1.4'
252
+
253
+ # Use Puma as the app server
254
+
255
+ gem 'puma', '~> 5.0'
256
+
257
+ # Use SCSS for stylesheets
258
+
259
+ gem 'sass-rails', '>= 6'
260
+
261
+ # Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
262
+
263
+ gem 'webpacker', '~> 5.0'
264
+
265
+ # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
266
+
267
+ gem 'turbolinks', '~> 5'
268
+
269
+ # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
270
+
271
+ gem 'jbuilder', '~> 2.7'
272
+
273
+ # Use Redis adapter to run Action Cable in production
274
+
275
+ # gem 'redis', '~> 4.0'
276
+
277
+ # Use Active Model has_secure_password
278
+
279
+ # gem 'bcrypt', '~> 3.1.7'
280
+
281
+
282
+
283
+ # Use Active Storage variant
284
+
285
+ # gem 'image_processing', '~> 1.2'
286
+
287
+
288
+
289
+ # Reduces boot times through caching; required in config/boot.rb
290
+
291
+ gem 'bootsnap', '>= 1.4.4', require: false
292
+
293
+
294
+
295
+ group :development, :test do
296
+
297
+ # Call 'byebug' anywhere in the code to stop execution and get a debugger console
298
+
299
+ gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
300
+
301
+ end
302
+
303
+
304
+
305
+ group :development do
306
+
307
+ # Access an interactive console on exception pages or by calling 'console' anywhere in the code.
308
+
309
+ gem 'web-console', '>= 4.1.0'
310
+
311
+ # Display performance information such as SQL time and flame graphs for each request in your browser.
312
+
313
+ # Can be configured to work on production as well see: https://github.com/MiniProfiler/rack-mini-profiler/blob/master/README.md
314
+
315
+ gem 'rack-mini-profiler', '~> 2.0'
316
+
317
+ gem 'listen', '~> 3.3'
318
+
319
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
320
+
321
+ gem 'spring'
322
+
323
+ end
324
+
325
+
326
+
327
+ group :test do
328
+
329
+ # Adds support for Capybara system testing and selenium driver
330
+
331
+ gem 'capybara', '>= 3.26'
332
+
333
+ gem 'selenium-webdriver'
334
+
335
+ # Easy installation and use of web drivers to run system tests with browsers
336
+
337
+ gem 'webdrivers'
338
+
339
+ end
340
+
341
+
342
+
343
+ # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
344
+
345
+ gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
346
+
347
+ ```
348
+
349
+
350
+
351
+ ### Gemfile.lock
352
+
353
+
354
+
355
+ ```
356
+
357
+ <No /Users/shojihiroto/Desktop/RailsApp/Gemfile.lock found>
358
+
359
+ ```
360
+
361
+
362
+
21
363
  Unfortunately, an unexpected error occurred, and Bundler cannot continue.
22
364
 
23
365