質問編集履歴
1
記述追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -136,6 +136,174 @@
|
|
136
136
|
|
137
137
|
```
|
138
138
|
|
139
|
+
|
140
|
+
|
139
141
|
よろしくご指導下さい
|
140
142
|
|
141
143
|
ちなみにhomeview及びwebpackerやyarnはインストールしました
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
下記が実行した経緯です
|
148
|
+
|
149
|
+
```
|
150
|
+
|
151
|
+
ec2-user:~/environment/myapp (master) $ rails s
|
152
|
+
|
153
|
+
=> Booting Puma
|
154
|
+
|
155
|
+
=> Rails 6.0.0 application starting in development
|
156
|
+
|
157
|
+
=> Run `rails server --help` for more startup options
|
158
|
+
|
159
|
+
warning Skipping preferred cache folder "/home/ec2-user/.cache/yarn" because it is not writable.
|
160
|
+
|
161
|
+
warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-501".
|
162
|
+
|
163
|
+
Puma starting in single mode...
|
164
|
+
|
165
|
+
* Version 3.12.1 (ruby 2.6.3-p62), codename: Llamas in Pajamas
|
166
|
+
|
167
|
+
* Min threads: 5, max threads: 5
|
168
|
+
|
169
|
+
* Environment: development
|
170
|
+
|
171
|
+
* Listening on tcp://localhost:8080
|
172
|
+
|
173
|
+
Use Ctrl-C to stop
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-501".
|
178
|
+
|
179
|
+
Puma starting in single mode...
|
180
|
+
|
181
|
+
* Version 3.12.1 (ruby 2.6.3-p62), codename: Llamas in Pajamas
|
182
|
+
|
183
|
+
* Min threads: 5, max threads: 5
|
184
|
+
|
185
|
+
* Environment: development
|
186
|
+
|
187
|
+
* Listening on tcp://localhost:8080
|
188
|
+
|
189
|
+
Use Ctrl-C to stop
|
190
|
+
|
191
|
+
Started GET "/" for 61.192.112.95 at 2019-09-05 14:25:43 +0900
|
192
|
+
|
193
|
+
Cannot render console from 61.192.112.95! Allowed networks: 127.0.0.0/127.255.255.255, ::1
|
194
|
+
|
195
|
+
(1.9ms) SELECT sqlite_version(*)
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
RuntimeError (Your version of SQLite (3.7.17) is too old. Active Record supports SQLite >= 3.8.):
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
activerecord (6.0.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:336:in `check_version'
|
204
|
+
|
205
|
+
activerecord (6.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:880:in `block in new_connection'
|
206
|
+
|
207
|
+
activerecord (6.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:879:in `tap'
|
208
|
+
|
209
|
+
activerecord (6.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:879:in `new_connection'
|
210
|
+
|
211
|
+
activerecord (6.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:923:in `checkout_new_connection'
|
212
|
+
|
213
|
+
activerecord (6.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:902:in `try_to_checkout_new_connection'
|
214
|
+
|
215
|
+
activerecord (6.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:863:in `acquire_connection'
|
216
|
+
|
217
|
+
activerecord (6.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:587:in `checkout'
|
218
|
+
|
219
|
+
activerecord (6.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:431:in `connection'
|
220
|
+
|
221
|
+
activerecord (6.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:1111:in `retrieve_connection'
|
222
|
+
|
223
|
+
activerecord (6.0.0) lib/active_record/connection_handling.rb:231:in `retrieve_connection'
|
224
|
+
|
225
|
+
activerecord (6.0.0) lib/active_record/connection_handling.rb:199:in `connection'
|
226
|
+
|
227
|
+
activerecord (6.0.0) lib/active_record/migration.rb:562:in `call'
|
228
|
+
|
229
|
+
actionpack (6.0.0) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
|
230
|
+
|
231
|
+
activesupport (6.0.0) lib/active_support/callbacks.rb:101:in `run_callbacks'
|
232
|
+
|
233
|
+
actionpack (6.0.0) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
|
234
|
+
|
235
|
+
actionpack (6.0.0) lib/action_dispatch/middleware/executor.rb:14:in `call'
|
236
|
+
|
237
|
+
actionpack (6.0.0) lib/action_dispatch/middleware/actionable_exceptions.rb:17:in `call'
|
238
|
+
|
239
|
+
actionpack (6.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:32:in `call'
|
240
|
+
|
241
|
+
web-console (4.0.1) lib/web_console/middleware.rb:132:in `call_app'
|
242
|
+
|
243
|
+
web-console (4.0.1) lib/web_console/middleware.rb:19:in `block in call'
|
244
|
+
|
245
|
+
web-console (4.0.1) lib/web_console/middleware.rb:17:in `catch'
|
246
|
+
|
247
|
+
web-console (4.0.1) lib/web_console/middleware.rb:17:in `call'
|
248
|
+
|
249
|
+
actionpack (6.0.0) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
|
250
|
+
|
251
|
+
railties (6.0.0) lib/rails/rack/logger.rb:38:in `call_app'
|
252
|
+
|
253
|
+
railties (6.0.0) lib/rails/rack/logger.rb:26:in `block in call'
|
254
|
+
|
255
|
+
activesupport (6.0.0) lib/active_support/tagged_logging.rb:80:in `block in tagged'
|
256
|
+
|
257
|
+
activesupport (6.0.0) lib/active_support/tagged_logging.rb:28:in `tagged'
|
258
|
+
|
259
|
+
activesupport (6.0.0) lib/active_support/tagged_logging.rb:80:in `tagged'
|
260
|
+
|
261
|
+
railties (6.0.0) lib/rails/rack/logger.rb:26:in `call'
|
262
|
+
|
263
|
+
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
|
264
|
+
|
265
|
+
actionpack (6.0.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
|
266
|
+
|
267
|
+
actionpack (6.0.0) lib/action_dispatch/middleware/request_id.rb:27:in `call'
|
268
|
+
|
269
|
+
rack (2.0.7) lib/rack/method_override.rb:22:in `call'
|
270
|
+
|
271
|
+
rack (2.0.7) lib/rack/runtime.rb:22:in `call'
|
272
|
+
|
273
|
+
activesupport (6.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
|
274
|
+
|
275
|
+
actionpack (6.0.0) lib/action_dispatch/middleware/executor.rb:14:in `call'
|
276
|
+
|
277
|
+
actionpack (6.0.0) lib/action_dispatch/middleware/static.rb:126:in `call'
|
278
|
+
|
279
|
+
rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
|
280
|
+
|
281
|
+
actionpack (6.0.0) lib/action_dispatch/middleware/host_authorization.rb:83:in `call'
|
282
|
+
|
283
|
+
webpacker (4.0.7) lib/webpacker/dev_server_proxy.rb:29:in `perform_request'
|
284
|
+
|
285
|
+
rack-proxy (0.6.5) lib/rack/proxy.rb:57:in `call'
|
286
|
+
|
287
|
+
railties (6.0.0) lib/rails/engine.rb:526:in `call'
|
288
|
+
|
289
|
+
puma (3.12.1) lib/puma/configuration.rb:227:in `call'
|
290
|
+
|
291
|
+
puma (3.12.1) lib/puma/server.rb:660:in `handle_request'
|
292
|
+
|
293
|
+
puma (3.12.1) lib/puma/server.rb:474:in `process_client'
|
294
|
+
|
295
|
+
puma (3.12.1) lib/puma/server.rb:334:in `block in run'
|
296
|
+
|
297
|
+
puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread'
|
298
|
+
|
299
|
+
```
|
300
|
+
|
301
|
+
ここで実行してRun Preview Preview Running Application ブラウザに反映されます
|
302
|
+
|
303
|
+
参考にしたサイトは
|
304
|
+
|
305
|
+
https://qiita.com/taiteam/items/a37c60fc15c1aa5bb606
|
306
|
+
|
307
|
+
https://qiita.com/kai_kou/items/c18b68a7916251231f6d
|
308
|
+
|
309
|
+
よろしくお願いいたします
|