Why doesn't “rails s” work from the app directory?

前端 未结 7 2048
醉酒成梦
醉酒成梦 2020-12-09 04:33

I\'m in my app folder, but the command rails s is not working. I read through quite a few posts on Stack Overflow, and most of them seem to be from users who ar

相关标签:
7条回答
  • 2020-12-09 05:16

    Possible reasons:

    • you are not in a directory that contains a full rails app
    • your bin directory might me empty, try to run rake rails:update:bin (for Rails 4) or rails app:update:bin (Rails 5)
    0 讨论(0)
提交回复
热议问题