1
在我的Rails应用程序我使用“acts_as_follower”我已经运行了生成命令宝石,耙分贝:迁移建立用户模型,但是当我去到我的本地主机,它只是说:undefined local variable or method 'acts_as_followable'
acts_as_follower未定义的方法
有没有人有任何想法我可以解决这个问题?
在我的Rails应用程序我使用“acts_as_follower”我已经运行了生成命令宝石,耙分贝:迁移建立用户模型,但是当我去到我的本地主机,它只是说:undefined local variable or method 'acts_as_followable'
acts_as_follower未定义的方法
有没有人有任何想法我可以解决这个问题?
执行bundle install
并重新启动服务器。
以防万一,你是否捆绑安装并重新启动服务器? – 2013-03-22 22:34:51
是的,我做了这两个 – coreypizzle 2013-03-22 22:35:49
@garbagecollection WOOPS!我总是这样做!重新启动它的工作!如果你将它作为答案发布,我会检查它! – coreypizzle 2013-03-22 22:37:01