Ruby on rails 是否安装了gem?错误:未定义的方法最佳位置
我在我的gem文件中添加了Ruby on rails 是否安装了gem?错误:未定义的方法最佳位置,ruby-on-rails,best-in-place,Ruby On Rails,Best In Place,我在我的gem文件中添加了best\u-in\u-place,运行了bundle-install,gem没有出现在显示“正在使用…”的列表中。但最好的位置确实出现在gem列表中 当我尝试在我的应用程序中使用best_in_place时,我得到了未定义的方法best_in_place 我确实有一个GemFile.lock重新启动Rails服务器,如果您正在使用Rails 4,请添加 gem'best_in_place',github'aaronchi/best_in_place'进入您的Gemfi
best\u-in\u-place
,运行了bundle-install
,gem没有出现在显示“正在使用…”的列表中。但最好的位置确实出现在gem列表中
当我尝试在我的应用程序中使用best_in_place时,我得到了未定义的方法best_in_place
我确实有一个GemFile.lock
重新启动Rails服务器,如果您正在使用Rails 4,请添加
gem'best_in_place',github'aaronchi/best_in_place'
进入您的Gemfile
然后运行bundle安装
非常好的参考资料