2013-08-30 29 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