質問編集履歴
1
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -20,138 +20,272 @@
|
|
20
20
|
|
21
21
|
|
22
22
|
|
23
|
+
rail newの時に下記、エラーが発生しているようです。
|
24
|
+
|
25
|
+
sqlite関連の問題でしょうか?
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
Using loofah 2.9.0
|
32
|
+
|
33
|
+
Fetching xpath 3.2.0
|
34
|
+
|
35
|
+
Installing addressable 2.7.0
|
36
|
+
|
37
|
+
Installing xpath 3.2.0
|
38
|
+
|
39
|
+
Fetching selenium-webdriver 3.142.7
|
40
|
+
|
41
|
+
Fetching turbolinks 5.2.1
|
42
|
+
|
43
|
+
Installing turbolinks 5.2.1
|
44
|
+
|
45
|
+
Using rails-dom-testing 2.0.3
|
46
|
+
|
47
|
+
Using globalid 0.4.2
|
48
|
+
|
49
|
+
Using activemodel 6.1.3
|
50
|
+
|
51
|
+
Fetching jbuilder 2.11.2
|
52
|
+
|
53
|
+
Installing selenium-webdriver 3.142.7
|
54
|
+
|
55
|
+
Installing jbuilder 2.11.2
|
56
|
+
|
57
|
+
Using rails-html-sanitizer 1.3.0
|
58
|
+
|
59
|
+
Fetching capybara 3.35.3
|
60
|
+
|
61
|
+
Installing capybara 3.35.3
|
62
|
+
|
63
|
+
Using activejob 6.1.3
|
64
|
+
|
65
|
+
Using activerecord 6.1.3
|
66
|
+
|
67
|
+
Using actionview 6.1.3
|
68
|
+
|
69
|
+
Using actionpack 6.1.3
|
70
|
+
|
71
|
+
Using actioncable 6.1.3
|
72
|
+
|
73
|
+
Using activestorage 6.1.3
|
74
|
+
|
75
|
+
Using actionmailer 6.1.3
|
76
|
+
|
77
|
+
Using railties 6.1.3
|
78
|
+
|
79
|
+
Using sprockets-rails 3.2.2
|
80
|
+
|
81
|
+
Using actionmailbox 6.1.3
|
82
|
+
|
83
|
+
Using actiontext 6.1.3
|
84
|
+
|
85
|
+
Fetching web-console 4.1.0
|
86
|
+
|
87
|
+
Installing web-console 4.1.0
|
88
|
+
|
89
|
+
Fetching webpacker 5.2.1
|
90
|
+
|
91
|
+
Using rails 6.1.3
|
92
|
+
|
93
|
+
Installing webpacker 5.2.1
|
94
|
+
|
95
|
+
Fetching webdrivers 4.6.0
|
96
|
+
|
97
|
+
Installing webdrivers 4.6.0
|
98
|
+
|
99
|
+
Fetching bootsnap 1.7.2
|
100
|
+
|
101
|
+
Installing bootsnap 1.7.2 with native extensions
|
102
|
+
|
103
|
+
Fetching sassc 2.4.0
|
104
|
+
|
105
|
+
Fetching rb-inotify 0.10.1
|
106
|
+
|
107
|
+
Installing rb-inotify 0.10.1
|
108
|
+
|
109
|
+
Fetching listen 3.4.1
|
110
|
+
|
111
|
+
Installing sassc 2.4.0 with native extensions
|
112
|
+
|
113
|
+
Installing listen 3.4.1
|
114
|
+
|
115
|
+
Fetching sassc-rails 2.1.2
|
116
|
+
|
117
|
+
Installing sassc-rails 2.1.2
|
118
|
+
|
119
|
+
Fetching sass-rails 6.0.0
|
120
|
+
|
121
|
+
Installing sass-rails 6.0.0
|
122
|
+
|
123
|
+
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
current directory:
|
128
|
+
|
129
|
+
/Users/kotatera/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/sqlite3-1.4.2/ext/sqlite3
|
130
|
+
|
131
|
+
/Users/kotatera/.rbenv/versions/2.5.8/bin/ruby -I
|
132
|
+
|
133
|
+
/Users/kotatera/.rbenv/versions/2.5.8/lib/ruby/site_ruby/2.5.0 -r
|
134
|
+
|
135
|
+
./siteconf20210306-4024-11b68qb.rb extconf.rb
|
136
|
+
|
137
|
+
checking for sqlite3.h... no
|
138
|
+
|
139
|
+
sqlite3.h is missing. Try 'brew install sqlite3',
|
140
|
+
|
141
|
+
'yum install sqlite-devel' or 'apt-get install libsqlite3-dev'
|
142
|
+
|
143
|
+
and check your shared library search path (the
|
144
|
+
|
145
|
+
location where your sqlite3 shared library is located).
|
146
|
+
|
147
|
+
*** extconf.rb failed ***
|
148
|
+
|
149
|
+
Could not create Makefile due to some reason, probably lack of necessary
|
150
|
+
|
151
|
+
libraries and/or headers. Check the mkmf.log file for more details. You may
|
152
|
+
|
153
|
+
need configuration options.
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
Provided configuration options:
|
158
|
+
|
159
|
+
--with-opt-dir
|
160
|
+
|
161
|
+
--without-opt-dir
|
162
|
+
|
163
|
+
--with-opt-include
|
164
|
+
|
165
|
+
--without-opt-include=${opt-dir}/include
|
166
|
+
|
167
|
+
--with-opt-lib
|
168
|
+
|
169
|
+
--without-opt-lib=${opt-dir}/lib
|
170
|
+
|
171
|
+
--with-make-prog
|
172
|
+
|
173
|
+
--without-make-prog
|
174
|
+
|
175
|
+
--srcdir=.
|
176
|
+
|
177
|
+
--curdir
|
178
|
+
|
179
|
+
--ruby=/Users/kotatera/.rbenv/versions/2.5.8/bin/$(RUBY_BASE_NAME)
|
180
|
+
|
181
|
+
--with-sqlcipher
|
182
|
+
|
183
|
+
--without-sqlcipher
|
184
|
+
|
185
|
+
--with-sqlcipher
|
186
|
+
|
187
|
+
--without-sqlcipher
|
188
|
+
|
189
|
+
--with-sqlite3-config
|
190
|
+
|
191
|
+
--without-sqlite3-config
|
192
|
+
|
193
|
+
--with-pkg-config
|
194
|
+
|
195
|
+
--without-pkg-config
|
196
|
+
|
197
|
+
--with-sqlcipher
|
198
|
+
|
199
|
+
--without-sqlcipher
|
200
|
+
|
201
|
+
--with-sqlite3-dir
|
202
|
+
|
203
|
+
--without-sqlite3-dir
|
204
|
+
|
205
|
+
--with-sqlite3-include
|
206
|
+
|
207
|
+
--without-sqlite3-include=${sqlite3-dir}/include
|
208
|
+
|
209
|
+
--with-sqlite3-lib
|
210
|
+
|
211
|
+
--without-sqlite3-lib=${sqlite3-dir}/lib
|
212
|
+
|
213
|
+
|
214
|
+
|
215
|
+
To see why this extension failed to compile, please check the mkmf.log which can
|
216
|
+
|
217
|
+
be found here:
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
/Users/kotatera/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/extensions/x86_64-darwin-19/2.5.0/sqlite3-1.4.2/mkmf.log
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
extconf failed, exit code 1
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
Gem files will remain installed in
|
230
|
+
|
231
|
+
/Users/kotatera/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/gems/sqlite3-1.4.2 for
|
232
|
+
|
233
|
+
inspection.
|
234
|
+
|
235
|
+
Results logged to
|
236
|
+
|
237
|
+
/Users/kotatera/.rbenv/versions/2.5.8/lib/ruby/gems/2.5.0/extensions/x86_64-darwin-19/2.5.0/sqlite3-1.4.2/gem_make.out
|
238
|
+
|
239
|
+
|
240
|
+
|
241
|
+
An error occurred while installing sqlite3 (1.4.2), and Bundler cannot
|
242
|
+
|
243
|
+
continue.
|
244
|
+
|
245
|
+
Make sure that `gem install sqlite3 -v '1.4.2' --source 'https://rubygems.org/'`
|
246
|
+
|
247
|
+
succeeds before bundling.
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
In Gemfile:
|
252
|
+
|
253
|
+
sqlite3
|
254
|
+
|
255
|
+
run bundle binstubs bundler
|
256
|
+
|
257
|
+
Could not find gem 'sqlite3 (~> 1.4)' in rubygems repository
|
258
|
+
|
259
|
+
https://rubygems.org/ or installed locally.
|
260
|
+
|
261
|
+
The source does not contain any versions of 'sqlite3'
|
262
|
+
|
263
|
+
rails webpacker:install
|
264
|
+
|
265
|
+
Could not find gem 'sqlite3 (~> 1.4)' in rubygems repository https://rubygems.org/ or installed locally.
|
266
|
+
|
267
|
+
The source does not contain any versions of 'sqlite3'
|
268
|
+
|
269
|
+
Run `bundle install` to install missing gems.
|
270
|
+
|
271
|
+
kotatera@MacBook ~ %
|
272
|
+
|
273
|
+
|
274
|
+
|
275
|
+
|
276
|
+
|
277
|
+
-------------------------------------------------------------------------------------------------------
|
278
|
+
|
279
|
+
|
280
|
+
|
281
|
+
|
282
|
+
|
23
283
|
|
24
284
|
|
25
285
|
|
26
286
|
|
27
287
|
```
|
28
288
|
|
29
|
-
Puma caught this error: Error loading the 'sqlite3' Active Record adapter. Missing a gem it depends on? can't activate sqlite3 (~> 1.4), already activated sqlite3-1.3.13. Make sure all dependencies are added to Gemfile. (LoadError)
|
30
|
-
|
31
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/bundler-2.2.13/lib/bundler/rubygems_integration.rb:334:in `block (2 levels) in replace_gem'
|
32
|
-
|
33
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activerecord-6.1.3/lib/active_record/connection_adapters/sqlite3_adapter.rb:13:in `<main>'
|
34
|
-
|
35
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
|
36
|
-
|
37
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
|
38
|
-
|
39
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
|
40
|
-
|
41
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
|
42
|
-
|
43
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
|
44
|
-
|
45
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:in `require'
|
46
|
-
|
47
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activerecord-6.1.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:1205:in `resolve_pool_config'
|
48
|
-
|
49
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activerecord-6.1.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:1046:in `establish_connection'
|
50
|
-
|
51
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activerecord-6.1.3/lib/active_record/connection_handling.rb:52:in `establish_connection'
|
52
|
-
|
53
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activerecord-6.1.3/lib/active_record/railtie.rb:222:in `block (2 levels) in <class:Railtie>'
|
54
|
-
|
55
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-6.1.3/lib/active_support/lazy_load_hooks.rb:71:in `class_eval'
|
56
|
-
|
57
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-6.1.3/lib/active_support/lazy_load_hooks.rb:71:in `block in execute_hook'
|
58
|
-
|
59
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-6.1.3/lib/active_support/lazy_load_hooks.rb:61:in `with_execution_control'
|
60
|
-
|
61
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-6.1.3/lib/active_support/lazy_load_hooks.rb:66:in `execute_hook'
|
62
|
-
|
63
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-6.1.3/lib/active_support/lazy_load_hooks.rb:52:in `block in run_load_hooks'
|
64
|
-
|
65
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-6.1.3/lib/active_support/lazy_load_hooks.rb:51:in `each'
|
66
|
-
|
67
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-6.1.3/lib/active_support/lazy_load_hooks.rb:51:in `run_load_hooks'
|
68
|
-
|
69
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activerecord-6.1.3/lib/active_record/base.rb:315:in `<module:ActiveRecord>'
|
70
|
-
|
71
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activerecord-6.1.3/lib/active_record/base.rb:15:in `<main>'
|
72
|
-
|
73
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
|
74
|
-
|
75
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
|
76
|
-
|
77
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
|
78
|
-
|
79
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
|
80
|
-
|
81
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
|
82
|
-
|
83
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:in `require'
|
84
|
-
|
85
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activerecord-6.1.3/lib/active_record/query_cache.rb:31:in `run'
|
86
|
-
|
87
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-6.1.3/lib/active_support/execution_wrapper.rb:28:in `before'
|
88
|
-
|
89
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-6.1.3/lib/active_support/callbacks.rb:427:in `block in make_lambda'
|
90
|
-
|
91
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-6.1.3/lib/active_support/callbacks.rb:198:in `block (2 levels) in halting'
|
92
|
-
|
93
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-6.1.3/lib/active_support/callbacks.rb:604:in `block (2 levels) in default_terminator'
|
94
|
-
|
95
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-6.1.3/lib/active_support/callbacks.rb:603:in `catch'
|
96
|
-
|
97
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-6.1.3/lib/active_support/callbacks.rb:603:in `block in default_terminator'
|
98
|
-
|
99
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-6.1.3/lib/active_support/callbacks.rb:199:in `block in halting'
|
100
|
-
|
101
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-6.1.3/lib/active_support/callbacks.rb:512:in `block in invoke_before'
|
102
|
-
|
103
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-6.1.3/lib/active_support/callbacks.rb:512:in `each'
|
104
|
-
|
105
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-6.1.3/lib/active_support/callbacks.rb:512:in `invoke_before'
|
106
|
-
|
107
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-6.1.3/lib/active_support/callbacks.rb:105:in `run_callbacks'
|
108
|
-
|
109
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-6.1.3/lib/active_support/execution_wrapper.rb:111:in `run!'
|
110
|
-
|
111
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-6.1.3/lib/active_support/execution_wrapper.rb:73:in `block in run!'
|
112
|
-
|
113
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-6.1.3/lib/active_support/execution_wrapper.rb:70:in `tap'
|
114
|
-
|
115
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/activesupport-6.1.3/lib/active_support/execution_wrapper.rb:70:in `run!'
|
116
|
-
|
117
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-6.1.3/lib/action_dispatch/middleware/executor.rb:12:in `call'
|
118
|
-
|
119
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-6.1.3/lib/action_dispatch/middleware/static.rb:24:in `call'
|
120
|
-
|
121
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rack-2.2.3/lib/rack/sendfile.rb:110:in `call'
|
122
|
-
|
123
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/actionpack-6.1.3/lib/action_dispatch/middleware/host_authorization.rb:98:in `call'
|
124
|
-
|
125
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rack-mini-profiler-2.3.1/lib/mini_profiler/profiler.rb:373:in `call'
|
126
|
-
|
127
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/webpacker-5.2.1/lib/webpacker/dev_server_proxy.rb:25:in `perform_request'
|
128
|
-
|
129
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rack-proxy-0.6.5/lib/rack/proxy.rb:57:in `call'
|
130
|
-
|
131
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/railties-6.1.3/lib/rails/engine.rb:539:in `call'
|
132
|
-
|
133
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/puma-5.2.2/lib/puma/configuration.rb:248:in `call'
|
134
|
-
|
135
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/puma-5.2.2/lib/puma/request.rb:76:in `block in handle_request'
|
136
|
-
|
137
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/puma-5.2.2/lib/puma/thread_pool.rb:337:in `with_force_shutdown'
|
138
|
-
|
139
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/puma-5.2.2/lib/puma/request.rb:75:in `handle_request'
|
140
|
-
|
141
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/puma-5.2.2/lib/puma/server.rb:431:in `process_client'
|
142
|
-
|
143
|
-
/Users/kotatera/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/puma-5.2.2/lib/puma/thread_pool.rb:145:in `block in spawn_thread'
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
```
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
289
|
|
156
290
|
|
157
291
|
### 試したこと
|