输入rails generate scaffold topic title:string description:text卡住

Published on:

3-4 建立 Migration
https://fullstack.xinshengdaxue.com/posts/432

输入rails generate scaffold topic title:string description:text卡住

解法:
如果卡住了,请按ctrl+c 先退出来。
然后在终端输入spring stop。继续执行教材步骤即可。
如果你是10.12系统,最好注销两个spring gem
1.打开你项目里的 Gemfile 文件
2.注释其中两行代码(禁用spring)

gem "spring"

gem "spring-commands-rspec"

Comments

comments powered by Disqus