gpt4 book ai didi

ruby-on-rails - Rails : json 1. 7.5 包安装问题

转载 作者:行者123 更新时间:2023-12-02 22:29:48 24 4
gpt4 key购买 nike

运行 bundle 时出现以下问题...

Installing json (1.7.5) with native extensions Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

    /usr/local/bin/ruby extconf.rb creating Makefile

make Makefile:158: * target pattern contains no `%'. Stop.

Gem files will remain installed in /srv/www/socialu.com/https:/github.com/willfults/rails3-jquery-autocomplete.git/ruby/1.9.1/gems/json-1.7.5 for inspection. Results logged to /srv/www/socialu.com/https:/github.com/willfults/rails3-jquery-autocomplete.git/ruby/1.9.1/gems/json-1.7.5/ext/json/ext/generator/gem_make.out An error occured while installing json (1.7.5), and Bundler cannot continue. Make sure that gem install json -v '1.7.5' succeeds before bundling.

我尝试执行以下操作 sudo aptitude install ruby​​1.9.1-dev 但没有成功。

最佳答案

在 debian 上,如果 ruby​​ 使用 apt-get 安装,也尝试安装 ruby​​-dev 包

#apt-get install ruby-dev

它对我的情况有帮助。

关于ruby-on-rails - Rails : json 1. 7.5 包安装问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12486894/

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