rubyracer gem을 설치하려고 시도하면 오류가 발생합니다.rubyracer arm chromebook을 (를) 설치할 수 없습니다.
왜 내가 젬을 이미 다운로드 받았을 때 v8에 대해 불평하는지 잘 모르겠다.
나는 libv8을 설치하는 데 원래의 문제가 있었지만 --system-v8 플래그로 설치하는 것을 관리했지만 지금은 루비 라이서가 불평하고있다.
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/home/glenn/.rvm/rubies/ruby-1.9.3-p392/bin/ruby extconf.rb
checking for main() in -lpthread... yes
checking for v8.h... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/home/glenn/.rvm/rubies/ruby-1.9.3-p392/bin/ruby
--with-pthreadlib
--without-pthreadlib
--enable-debug
--disable-debug
--with-v8-dir
--without-v8-dir
--with-v8-include
--without-v8-include=${v8-dir}/include
--with-v8-lib
--without-v8-lib=${v8-dir}/
/home/glenn/.rvm/gems/ruby-1.9.3-p392/gems/libv8-3.11.8.17/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. However,
it could not be located. please make sure you have a version of
v8 that is compatible with 3.11.8.17 installed. You may
need to special --with-v8-dir options if it is in a non-standard
location
thanks,
The Mgmt
from /home/glenn/.rvm/gems/ruby-1.9.3-p392/gems/libv8-3.11.8.17/lib/libv8.rb:7:in `configure_makefile'
from extconf.rb:32:in `<main>'
Gem files will remain installed in /home/glenn/.rvm/gems/ruby-1.9.3-p392/gems/therubyracer-0.11.4 for inspection.
Results logged to /home/glenn/.rvm/gems/ruby-1.9.3-p392/gems/therubyracer-0.11.4/ext/v8/gem_make.out
현재 Windows에서도 사용할 수 없기 때문에 Chrome OS에서는 사용할 수 없다고 생각합니다. (일부 보석은 v8.dll 및 기타 지원을 제공하기 위해 git에서 사용할 수 있음) – swapnesh
gem "therubyracer", : require = > 'v8'이것을 gemfile에 추가하고 – Bijendra