我正在尝试使用Ruby on Rails框架向OpenBSD服务器构建的主机OpenSourceBilling应用程序。当我尝试使用bundle install
命令安装gem时,我在therubyracer gem安装上出现以下错误:
/usr/local/lib/ruby/gems/2.0/gems/libv8-3.16.14.7/ext/libv8/location.rb:50:in `configure': You have chosen to use the version of V8 found on your system (Libv8::Location::System::NotFoundError)
and *not* the one that is bundle with the libv8 rubygem.
然而,
it could not be located. please make sure you have a version of
v8 that is compatible with 3.16.14.7 installed. You may
need to special --with-v8-dir options if it is in a non-standard
location
在这方面的任何帮助将不胜感激。
答案 0 :(得分:2)
更新libv8
以指向gemfile中的版本~> 3.11.8.3
这将工作.....