teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

誤字

2020/01/02 15:45

投稿

hiraba
hiraba

スコア10

title CHANGED
File without changes
body CHANGED
@@ -54,6 +54,8 @@
54
54
 
55
55
  ```
56
56
 
57
+ その後、
58
+
57
59
  他で調べて
58
60
  databace.ymlを
59
61
  ```ここに言語を入力

1

追加

2020/01/02 15:45

投稿

hiraba
hiraba

スコア10

title CHANGED
File without changes
body CHANGED
@@ -10,10 +10,6 @@
10
10
 
11
11
  文字数制限があったので一部消去
12
12
 
13
- 10: from /app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.6/lib/active_support/lazy_load_hooks.rb:49:in `each'
14
- 9: from /app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.6/lib/active_support/lazy_load_hooks.rb:50:in `block in run_load_hooks'
15
- 8: from /app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.6/lib/active_support/lazy_load_hooks.rb:65:in `execute_hook'
16
- 7: from /app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.6/lib/active_support/lazy_load_hooks.rb:60:in `with_execution_control'
17
13
  6: from /app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.6/lib/active_support/lazy_load_hooks.rb:69:in `block in execute_hook'
18
14
  5: from /app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.6/lib/active_support/lazy_load_hooks.rb:69:in `instance_eval'
19
15
  4: from /app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.6/lib/active_record/railtie.rb:124:in `block (2 levels) in <class:Railtie>'
@@ -56,4 +52,27 @@
56
52
  gem 'pg', '0.20.0'
57
53
  end
58
54
 
59
- ```
55
+ ```
56
+
57
+ 他で調べて
58
+ databace.ymlを
59
+ ```ここに言語を入力
60
+ production:
61
+ <<: *default
62
+ database: db/production.sqlite3
63
+ ```
64
+ ↓変更
65
+ ```ここに言語を入力
66
+ production:
67
+ <<: *default
68
+ adapter: postgresql
69
+ database: db/production.pg
70
+ ```
71
+ したのですが、今度は、
72
+ We're sorry, but something went wrong.
73
+ If you are the application owner check the logs for more information.
74
+ のエラーが出ました。
75
+
76
+ 正直、私のレベルではお手上げ状態です。
77
+
78
+ ご助言頂ければ幸いです。