0

我添加best_in_place到我的 GemFile,运行bundle install并且 gem 没有出现在显示“正在使用...”的列表中。但 best_in_place 确实显示在gem list.

当我尝试在我的应用程序中使用 best_in_place 时,我得到undefined method best_in_place.

我确实有一个GemFile.lock.

4

1 回答 1

7

重新启动您的 Rails 服务器,如果您正在使用 Rails 4 ,请添加 gem 'best_in_place', github: 'aaronchi/best_in_place'到您的Gemfilethen 运行bundle install

于 2013-08-30T19:19:57.820 回答