[英]rails generate devise:install does nothing
A have a problem installing the gem devise.安装 gem 设计时遇到问题。 I've already run
bundle install
but when I run rails generate devise:install
, there were no errors and it just does nothing.我已经运行
bundle install
但是当我运行rails generate devise:install
,没有错误,它什么也不做。
My rails version is Rails 4.2.5
.我的 rails 版本是
Rails 4.2.5
。
My ruby version is ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin14]
.我的 ruby 版本是
ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin14]
。
Thanks!谢谢!
UPDATE!更新!
Problem solved, I just restarted my machine.问题解决了,我刚刚重新启动了我的机器。 It works now.
它现在有效。
In case this ever happens again, all you would have to do is run:万一再次发生这种情况,您所要做的就是运行:
$ spring stop
Your generators will stop hanging & go back to normal.您的发电机将停止悬挂并恢复正常。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.