Ruby on rails 使用gem libv8的问题;3.11.8“;

Ruby on rails 使用gem libv8的问题;3.11.8“;,ruby-on-rails,gem,Ruby On Rails,Gem,我试图在我的Rails项目中使用“gem libv8”。 所以我补充说 gem'libv8',“~>3.11.8” 在我的Gemfile中,但当我运行bundle命令时,它会显示如下错误 You have requested: libv8 ~> 3.11.8 The bundle currently has libv8 locked at 3.3.10.4. Try running `bundle update libv8` 我试图通过键入gem list查看我的系统中安装了哪

我试图在我的Rails项目中使用“gem libv8”。 所以我补充说

gem'libv8',“~>3.11.8”

在我的Gemfile中,但当我运行bundle命令时,它会显示如下错误

You have requested:

  libv8 ~> 3.11.8

The bundle currently has libv8 locked at 3.3.10.4.

Try running `bundle update libv8`
我试图通过键入gem list查看我的系统中安装了哪个版本的libv8, 但即使在该列表中,它也会显示类似于
libv8(3.11.8.4)
,但不确定为什么会收到此错误消息

任何建议都会有帮助


谢谢。

Gemfile.lock文件没有更新,请运行bundle update libv8,您应该可以开始了。

实际上,这样做显示了一些与其他gems相关的其他问题。因此,我删除了Gemfile.lock中的内容,它可以正常工作。