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

質問編集履歴

3

routes.rbの追記

2021/02/15 22:57

投稿

pay_561
pay_561

スコア26

title CHANGED
File without changes
body CHANGED
@@ -5,6 +5,16 @@
5
5
  自分なりに調べた際に解決策としてtmp/pidsにあるファイルを削除すると書いてありましたが
6
6
  そのようなファイルはありませんでした。
7
7
 
8
+ ##routes.rb
9
+ ```ここに言語を入力
10
+ Rails.application.routes.draw do
11
+ root to: 'games#index'
12
+ resources :posts
13
+ devise_for :users,
14
+ resources :profiles, only: [:show, :new, :edit, :create, :update]
15
+ end
16
+ ```
17
+
8
18
  ##log
9
19
  ```ここに言語を入力
10
20
  $docker-compose up

2

修正

2021/02/15 22:57

投稿

pay_561
pay_561

スコア26

title CHANGED
File without changes
body CHANGED
@@ -9,8 +9,8 @@
9
9
  ```ここに言語を入力
10
10
  $docker-compose up
11
11
 
12
- Starting game-bug-app_db_1 ... done
12
+ Starting app_db_1 ... done
13
- Recreating game-bug-app_web_1 ... done
13
+ Recreating app_web_1 ... done
14
14
  Attaching to game-bug-app_db_1, game-bug-app_web_1
15
15
  db_1 | 2021-02-15 22:23:15+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.23-1debian10 started.
16
16
  db_1 | 2021-02-15 22:23:15+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'

1

修正

2021/02/15 22:38

投稿

pay_561
pay_561

スコア26

title CHANGED
File without changes
body CHANGED
@@ -104,6 +104,6 @@
104
104
  web_1 | from /app/bin/spring:7:in `<top (required)>'
105
105
  web_1 | from bin/rails:2:in `load'
106
106
  web_1 | from bin/rails:2:in `<main>'
107
- game-bug-app_web_1 exited with code 1
107
+ app_web_1 exited with code 1
108
108
 
109
109
  ```