2013-08-30 32 views
0

我將best_in_place添加到我的GemFile中,運行bundle install,並且該寶石未出現在顯示「正在使用...」的列表中。但是,best_in_place確實在gem list中顯示。是否安裝了寶石?錯誤:未定義的方法best_in_place

當我嘗試在我的應用程序中使用best_in_place時,我得到undefined method best_in_place

我確實有GemFile.lock

回答

7

重新啓動你的Rails服務器,如果你是on Rails的4個工作日,加 gem 'best_in_place', github: 'aaronchi/best_in_place'到您的Gemfile然後運行bundle install

+0

大參考具有 – Doctor06