为什么 Rails 运行 Generate 命令会很慢

TL;DR
因为 Rails 命令使用的 Spring 已经在运行了,你需要执行

spring stop

来停止掉 Spring ,就可以继续执行了。
详细内容
参考:https://stackoverflow.com/questions/24096262/ruby-on-rails-rails-generate-controller-does-not-work
 

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注