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

質問編集履歴

4

ローカルについて。

2021/03/25 00:27

投稿

SETO22
SETO22

スコア3

title CHANGED
File without changes
body CHANGED
@@ -64,4 +64,8 @@
64
64
  /home/ec2-user/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.8.0/lib/unicorn/configurator.rb:723:in `parse_rackup_file': rackup file (restart) not readable (ArgumentError)
65
65
 
66
66
  ```
67
- ラックアップファイル(再起動)が読み取れません(ArgumentError)とあるので、unicorn関係がおかしい可能性があります。
67
+ ラックアップファイル(再起動)が読み取れません(ArgumentError)とあるので、unicorn関係がおかしい可能性があります。
68
+
69
+ ###ローカル環境
70
+ ローカル環境では、<%= javascript_pack_tag 'application' ,'data-turbolinks-track':'reload'%>をコメントアウトすると、bootstrapが機能しませんでした。
71
+ 画面表示はされます。

3

追記しました

2021/03/25 00:27

投稿

SETO22
SETO22

スコア3

title CHANGED
File without changes
body CHANGED
@@ -30,6 +30,7 @@
30
30
  </head>
31
31
  ```
32
32
 
33
+
33
34
  ### 試したこと
34
35
 
35
36
  yarn をインストール。
@@ -62,4 +63,5 @@
62
63
  1: from /home/ec2-user/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.8.0/lib/unicorn/configurator.rb:87:in `reload'
63
64
  /home/ec2-user/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.8.0/lib/unicorn/configurator.rb:723:in `parse_rackup_file': rackup file (restart) not readable (ArgumentError)
64
65
 
65
- ```
66
+ ```
67
+ ラックアップファイル(再起動)が読み取れません(ArgumentError)とあるので、unicorn関係がおかしい可能性があります。

2

unicorn.logの確認

2021/03/24 07:09

投稿

SETO22
SETO22

スコア3

title CHANGED
File without changes
body CHANGED
@@ -47,4 +47,19 @@
47
47
 
48
48
  ### 追記
49
49
  現在,エラー箇所がこのように空欄となっています。
50
- https://gyazo.com/da60a4db6e291496c5a40e09c7d6fb18
50
+ https://gyazo.com/da60a4db6e291496c5a40e09c7d6fb18
51
+
52
+ winterboum 様のご指摘の元、unicorn.logを確認いたしました。
53
+ ```
54
+ Traceback (most recent call last):
55
+ 8: from /home/ec2-user/.rbenv/versions/2.6.5/bin/unicorn:23:in `<main>'
56
+ 7: from /home/ec2-user/.rbenv/versions/2.6.5/bin/unicorn:23:in `load'
57
+ 6: from /home/ec2-user/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.8.0/bin/unicorn:128:in `<top (required)>'
58
+ 5: from /home/ec2-user/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.8.0/bin/unicorn:128:in `new'
59
+ 4: from /home/ec2-user/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.8.0/lib/unicorn/http_server.rb:79:in `initialize'
60
+ 3: from /home/ec2-user/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.8.0/lib/unicorn/http_server.rb:79:in `new'
61
+ 2: from /home/ec2-user/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.8.0/lib/unicorn/configurator.rb:78:in `initialize'
62
+ 1: from /home/ec2-user/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.8.0/lib/unicorn/configurator.rb:87:in `reload'
63
+ /home/ec2-user/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/unicorn-5.8.0/lib/unicorn/configurator.rb:723:in `parse_rackup_file': rackup file (restart) not readable (ArgumentError)
64
+
65
+ ```

1

追記しました

2021/03/24 07:02

投稿

SETO22
SETO22

スコア3

title CHANGED
File without changes
body CHANGED
@@ -43,4 +43,8 @@
43
43
  yarn 1.22.10
44
44
  ruby 2.6.5p114
45
45
  unicorn v5.8.0
46
- nginx version: nginx/1.18.0
46
+ nginx version: nginx/1.18.0
47
+
48
+ ### 追記
49
+ 現在,エラー箇所がこのように空欄となっています。
50
+ https://gyazo.com/da60a4db6e291496c5a40e09c7d6fb18