OpenBSD无法安装therubyracer gem ERROR:无法构建gem原生扩展

时间:2015-05-04 12:50:16

标签: ruby-on-rails ruby rubygems bundler openbsd

我正在尝试使用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

在这方面的任何帮助将不胜感激。

1 个答案:

答案 0 :(得分:2)

更新libv8以指向gemfile中的版本~> 3.11.8.3   这将工作.....