質問編集履歴

2

エラー追記

2017/05/29 07:45

投稿

komachi
komachi

スコア94

test CHANGED
File without changes
test CHANGED
@@ -27,3 +27,33 @@
27
27
  この .unicorn.sock とは、何か、
28
28
 
29
29
  また、どうやって作るのか、教えてください。
30
+
31
+
32
+
33
+ 【追記】
34
+
35
+ unicornが起動していなかったみたいです。
36
+
37
+
38
+
39
+ ```
40
+
41
+ unicorn_rails -c /home/ubuntu/(アプリの名前)/config/unicorn.conf.rb -D -E production
42
+
43
+ ```
44
+
45
+ とコマンドをうって起動させようとしましたが、今度は
46
+
47
+ master failed to start, check stderr log for details
48
+
49
+ とでました。
50
+
51
+
52
+
53
+ log/unicorn.logには以下のようなメッセージが出ていました。
54
+
55
+ ```
56
+
57
+ /home/ubuntu/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.0/lib/bundler/runtime.rb:317:in `check_for_activated_spec!': You have already activated rack 2.0.3, but your Gemfile requires rack 2.0.1. Prepending `bundle exec` to your command may solve this. (Gem::LoadError)
58
+
59
+ ```

1

gazousakuzyo

2017/05/29 07:45

投稿

komachi
komachi

スコア94

test CHANGED
File without changes
test CHANGED
@@ -7,8 +7,6 @@
7
7
  [http://qiita.com/naoki_mochizuki/items/5a1757d222806cbe0cd1](http://qiita.com/naoki_mochizuki/items/5a1757d222806cbe0cd1)
8
8
 
9
9
 
10
-
11
- ![イメージ説明](fbdadc7f6b5c2dcf3ce80db66270934d.png)
12
10
 
13
11
 
14
12