宝石安装?错误:未定义的方法best_in_place

Bru*_*uno 0 ruby-on-rails best-in-place

我添加best_in_place到我的GemFile,运行bundle install并且宝石没有显示在显示"正在使用..."的列表中.但是best_in_place确实显示出来了gem list.

当我尝试在我的应用程序中使用best_in_place时,我明白了undefined method best_in_place.

我有一个GemFile.lock.

Mos*_*ein 7

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