質問編集履歴

3

文法の修正

2021/01/22 12:27

投稿

wrx_sti
wrx_sti

スコア1

test CHANGED
File without changes
test CHANGED
@@ -30,7 +30,65 @@
30
30
 
31
31
  ```
32
32
 
33
+ ```
33
34
 
35
+ [ec2-user@ip-172-31-3-254 pf_snooooow]$ rails db:migrate:status
36
+
37
+ rails aborted!
38
+
39
+ LoadError: Could not load the 'listen' gem. Add `gem 'listen'` to the development group of your Gemfile
40
+
41
+ /home/ec2-user/pf_snooooow/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
42
+
43
+ /home/ec2-user/pf_snooooow/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
44
+
45
+ /home/ec2-user/pf_snooooow/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/loaded_features_index.rb:89:in `register'
46
+
47
+ /home/ec2-user/pf_snooooow/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
48
+
49
+ /home/ec2-user/pf_snooooow/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:44:in `require'
50
+
51
+ /home/ec2-user/pf_snooooow/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:291:in `block in require'
52
+
53
+ /home/ec2-user/pf_snooooow/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:257:in `load_dependency'
54
+
55
+ /home/ec2-user/pf_snooooow/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:291:in `require'
56
+
57
+ /home/ec2-user/pf_snooooow/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/evented_file_update_checker.rb:61:in `block in initialize'
58
+
59
+ /home/ec2-user/pf_snooooow/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/core_ext/kernel/reporting.rb:15:in `block in silence_warnings'
60
+
61
+ /home/ec2-user/pf_snooooow/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/core_ext/kernel/reporting.rb:28:in `with_warnings'
62
+
63
+ /home/ec2-user/pf_snooooow/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/core_ext/kernel/reporting.rb:15:in `silence_warnings'
64
+
65
+ /home/ec2-user/pf_snooooow/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/evented_file_update_checker.rb:59:in `initialize'
66
+
67
+ (省略)
68
+
69
+ /home/ec2-user/pf_snooooow/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
70
+
71
+ /home/ec2-user/pf_snooooow/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
72
+
73
+ /home/ec2-user/pf_snooooow/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
74
+
75
+ /home/ec2-user/pf_snooooow/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
76
+
77
+ /home/ec2-user/pf_snooooow/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
78
+
79
+ /home/ec2-user/pf_snooooow/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:291:in `block in require'
80
+
81
+ /home/ec2-user/pf_snooooow/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:257:in `load_dependency'
82
+
83
+ /home/ec2-user/pf_snooooow/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.4.4/lib/active_support/dependencies.rb:291:in `require'
84
+
85
+ bin/rails:9:in `<main>'
86
+
87
+ Tasks: TOP => db:migrate:status => db:load_config => environment
88
+
89
+ (See full trace by running task with --trace)
90
+
91
+ ```
34
92
 
35
93
  ### 該当のソースコード
36
94
 
@@ -58,8 +116,14 @@
58
116
 
59
117
 
60
118
 
119
+
120
+
61
121
  ### 補足情報(FW/ツールのバージョンなど)
62
122
 
123
+ リセットを行ったときのコマンドです。
63
124
 
125
+ ```
64
126
 
65
- ここにより詳細な情報を記載してください。
127
+ RAILS_ENV=production DISABLE_DATABASE_ENVIRONMENT_CHECK=1 bundle exec rails db:drop
128
+
129
+ ```

2

初心者アイコン

2021/01/22 12:27

投稿

wrx_sti
wrx_sti

スコア1

test CHANGED
File without changes
test CHANGED
@@ -56,6 +56,8 @@
56
56
 
57
57
 
58
58
 
59
+
60
+
59
61
  ### 補足情報(FW/ツールのバージョンなど)
60
62
 
61
63
 

1

文法の修正

2021/01/21 17:33

投稿

wrx_sti
wrx_sti

スコア1

test CHANGED
File without changes
test CHANGED
@@ -52,6 +52,10 @@
52
52
 
53
53
 
54
54
 
55
+ https://teratail.com/questions/301797 こちらの記事と全く同じ状態ですが、解決方法がわかりませんでした。
56
+
57
+
58
+
55
59
  ### 補足情報(FW/ツールのバージョンなど)
56
60
 
57
61