Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
面临“therubyracer-0.12.1”、“libv8-3.16.14.0”和“v8”之间的兼容性问题。哪些 gem 版本可以解决这个问题?
在与这个问题作斗争时,这对我有用几次。
libv8在终端中手动安装-with 系统:
libv8
gem install libv8 -v '3.16.14.3' -- --with-system-v8
做同样的事情therubyracer
therubyracer
gem install therubyracer
然后therubyracer像往常一样包含在您的 Gemfile 中。