When trying to generate a model with Rails and PostgreSQL, the command hangs without error

前端 未结 3 1625
迷失自我
迷失自我 2021-02-07 12:17

When using this command:

rails generate model Event name:string

Nothing happens, and I have to CTRL+c.

The versions I\'m using are:

3条回答
  •  借酒劲吻你
    2021-02-07 13:10

    Same thing happened to me and I wasn't using Spring so the solution didn't work.

    I just quit the console, opened it up again, ran the same command and it worked.

提交回复
热议问题