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