gpt4 book ai didi

ruby-on-rails - 无法在 Ubuntu 14.04 中安装 therubyracer

转载 作者:数据小太阳 更新时间:2023-10-29 08:44:28 25 4
gpt4 key购买 nike

<分区>

我已经搜索了很多解决方案,不幸的是,没有一个解决。这是我在运行 bundle install 时得到的结果:

Installing therubyracer 0.12.2 with native extensions

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

/home/louiecubero/.rbenv/versions/2.2.4/bin/ruby -r ./siteconf20151229-3880-cwrbql.rb extconf.rb
checking for main() in -lpthread... yes
creating Makefile

make "DESTDIR=" clean

make "DESTDIR="
compiling constants.cc
make: g++: Command not found
make: *** [constants.o] Error 127

make failed, exit code 2

Gem files will remain installed in /home/louiecubero/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/therubyracer-0.12.2 for inspection.
Results logged to /home/louiecubero/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/extensions/x86_64-linux/2.2.0-static/therubyracer-0.12.2/gem_make.out

我使用的 ruby​​ 版本是:

ruby 2.2.4p230 (2015-12-16 revision 53155) [x86_64-linux]

我的rails版本是:rails 4.2.5

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com