`': superclass mismatch for class Server (TypeError)

前端 未结 3 827
时光取名叫无心
时光取名叫无心 2021-01-06 07:47

I have seen this and several others question, but their problems are not similar to mine.

I have added the following code to the config/boot.rb , to run

3条回答
  •  失恋的感觉
    2021-01-06 08:27

    In Rails 5.2

    in config/puma.rb I added this code.

    #port        ENV.fetch("PORT") { 3000 }
    bind        'tcp://0.0.0.0:3001'
    

    And it works!

提交回复
热议问题