“rails generate” not working

前端 未结 2 1193
眼角桃花
眼角桃花 2020-12-23 01:59

When using ruby 2.1.0 (or 2.1.1) and I type rails g nothing happens. It simply hangs. But when I change to 1.9.3, using rvm use 1.9.3 it works as e

2条回答
  •  不知归路
    2020-12-23 02:15

    Have you tried to run:

    spring stop
    

    rails generate hangs may because spring is already running.

    see https://github.com/rails/spring/issues/265

提交回复
热议问题