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

質問編集履歴

2

herokuのappを停止したのですが、ダメでした・・。

2019/12/30 03:04

投稿

helo
helo

スコア36

title CHANGED
File without changes
body CHANGED
@@ -41,6 +41,9 @@
41
41
  いうのがありましたので、やってみましたがやはり即座にexitして上記エラーと
42
42
  大量のルーティングエラーが出ました。
43
43
 
44
+ $ heroku ps:scale web=0 コマンドでappを停止したのですがやはりpumaのエラーが出て
45
+ localhost:3000に繋がりません。
46
+
44
47
  ### 補足情報(FW/ツールのバージョンなど 
45
48
 
46
49
 

1

ターミナルでオプション-pを付けてrails sをやってみましたが、エラーでした。

2019/12/30 03:04

投稿

helo
helo

スコア36

title CHANGED
File without changes
body CHANGED
@@ -11,6 +11,22 @@
11
11
  ERROR: worker mode not supported on JRuby or Windows
12
12
  Exiting
13
13
 
14
+
15
+ $ rails s -p
16
+ C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/thor-1.0.1/lib/thor/parser/options.rb:228:in `parse_peek': No value provided for option '--port' (Thor::MalformattedArgumentError)
17
+ from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/thor-1.0.1/lib/thor/parser/options.rb:100:in `parse'
18
+ from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/thor-1.0.1/lib/thor/base.rb:79:in `initialize'
19
+ from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/thor-1.0.1/lib/thor/invocation.rb:26:in `initialize'
20
+ from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/thor-1.0.1/lib/thor/shell.rb:45:in `initialize'
21
+ from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/railties-5.1.6/lib/rails/commands/server/server_command.rb:123:in `initialize'
22
+ from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/thor-1.0.1/lib/thor.rb:388:in `new'
23
+ from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/thor-1.0.1/lib/thor.rb:388:in `dispatch'
24
+ from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/railties-5.1.6/lib/rails/command/base.rb:63:in `perform'
25
+ from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/railties-5.1.6/lib/rails/command.rb:44:in `invoke'
26
+ from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/railties-5.1.6/lib/rails/commands.rb:16:in `<top (required)>'
27
+ from bin/rails:4:in `require'
28
+ from bin/rails:4:in `<main>'
29
+
14
30
  ```
15
31
 
16
32
  ### 該当のソースコード