質問編集履歴

2

画像の添付 エラー文字入力

2021/03/15 20:41

投稿

yoshi-00
yoshi-00

スコア2

test CHANGED
File without changes
test CHANGED
@@ -1,4 +1,4 @@
1
- ### 前提・実現したいこと
1
+ ![イメージ説明](39d53dc0f92a8d8b74e60fa24bacbc79.png)### 前提・実現したいこと
2
2
 
3
3
  エラーを解除したいです。
4
4
 
@@ -23,6 +23,88 @@
23
23
  ActiveRecord::PendingMigrationError 
24
24
 
25
25
  Migrations are pending. To resolve this issue, run: rails db:migrate RAILS_ENV=development
26
+
27
+
28
+
29
+ Rails.root: /home/ubuntu/environment/toy_app
30
+
31
+
32
+
33
+ Application Trace | Framework Trace | Full Trace
34
+
35
+ activerecord (6.0.3) lib/active_record/migration.rb:586:in `check_pending!'
36
+
37
+ activerecord (6.0.3) lib/active_record/migration.rb:564:in `call'
38
+
39
+ actionpack (6.0.3) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
40
+
41
+ activesupport (6.0.3) lib/active_support/callbacks.rb:101:in `run_callbacks'
42
+
43
+ actionpack (6.0.3) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
44
+
45
+ actionpack (6.0.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
46
+
47
+ actionpack (6.0.3) lib/action_dispatch/middleware/actionable_exceptions.rb:17:in `call'
48
+
49
+ actionpack (6.0.3) lib/action_dispatch/middleware/debug_exceptions.rb:32:in `call'
50
+
51
+ web-console (4.0.1) lib/web_console/middleware.rb:132:in `call_app'
52
+
53
+ web-console (4.0.1) lib/web_console/middleware.rb:19:in `block in call'
54
+
55
+ web-console (4.0.1) lib/web_console/middleware.rb:17:in `catch'
56
+
57
+ web-console (4.0.1) lib/web_console/middleware.rb:17:in `call'
58
+
59
+ actionpack (6.0.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
60
+
61
+ railties (6.0.3) lib/rails/rack/logger.rb:37:in `call_app'
62
+
63
+ railties (6.0.3) lib/rails/rack/logger.rb:26:in `block in call'
64
+
65
+ activesupport (6.0.3) lib/active_support/tagged_logging.rb:80:in `block in tagged'
66
+
67
+ activesupport (6.0.3) lib/active_support/tagged_logging.rb:28:in `tagged'
68
+
69
+ activesupport (6.0.3) lib/active_support/tagged_logging.rb:80:in `tagged'
70
+
71
+ railties (6.0.3) lib/rails/rack/logger.rb:26:in `call'
72
+
73
+ sprockets-rails (3.2.2) lib/sprockets/rails/quiet_assets.rb:13:in `call'
74
+
75
+ actionpack (6.0.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
76
+
77
+ actionpack (6.0.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
78
+
79
+ rack (2.2.3) lib/rack/method_override.rb:24:in `call'
80
+
81
+ rack (2.2.3) lib/rack/runtime.rb:22:in `call'
82
+
83
+ activesupport (6.0.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
84
+
85
+ actionpack (6.0.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
86
+
87
+ actionpack (6.0.3) lib/action_dispatch/middleware/static.rb:126:in `call'
88
+
89
+ rack (2.2.3) lib/rack/sendfile.rb:110:in `call'
90
+
91
+ actionpack (6.0.3) lib/action_dispatch/middleware/host_authorization.rb:76:in `call'
92
+
93
+ webpacker (4.0.7) lib/webpacker/dev_server_proxy.rb:29:in `perform_request'
94
+
95
+ rack-proxy (0.6.5) lib/rack/proxy.rb:57:in `call'
96
+
97
+ railties (6.0.3) lib/rails/engine.rb:527:in `call'
98
+
99
+ puma (4.3.6) lib/puma/configuration.rb:228:in `call'
100
+
101
+ puma (4.3.6) lib/puma/server.rb:713:in `handle_request'
102
+
103
+ puma (4.3.6) lib/puma/server.rb:472:in `process_client'
104
+
105
+ puma (4.3.6) lib/puma/server.rb:328:in `block in run'
106
+
107
+ puma (4.3.6) lib/puma/thread_pool.rb:134:in `block in spawn_thread'
26
108
 
27
109
 
28
110
 

1

書式の改善、文字の編集

2021/03/15 20:41

投稿

yoshi-00
yoshi-00

スコア2

test CHANGED
@@ -1 +1 @@
1
- ActiveRecord::PendingMigrationError Migrations are pending. To resolve this issue, run: rails db:mi
1
+ サーバーが立ち上がらずエラーが出ますActiveRecord::PendingMigrationError Migrations are pending. To resolve this is
test CHANGED
@@ -40,14 +40,14 @@
40
40
 
41
41
  まず rails db:migrateでしたのですが画面は変わらず、次に rails db:migrate RAILS_ENV=developmentを
42
42
 
43
- しましたが変わらず、rails db:reset rails db:migrateをしてもエラー画面は変らずです。
43
+ しましたが変わらず、rails db:reset rails db:migrateをしてもエラー画面は変らずです。他の人の質問箱を見てやって見ましたが、どれも無理でした。
44
+
45
+ ご教授願いますでしょうか。
46
+
47
+ 宜しくお願いいたします。
44
48
 
45
49
 
46
50
 
47
51
 
48
52
 
49
53
  ### 補足情報(FW/ツールのバージョンなど)
50
-
51
-
52
-
53
- AWS Rails6