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

前端 未结 3 1626
迷失自我
迷失自我 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:22

    There is a bug in Spring with Rails 4.1 which causes generators to hang.

    Try running spring stop and running the generator again.

提交回复
热议问题