当运行包我得到了以下问题......的Rails:JSON 1.7.5捆绑安装问题
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 ruby1.9.1-dev
,但没有奏效。
谢谢,但这个错误仍然存在,如果我运行gem install json -v'1.7.5'gem installs,但是当我运行bundle时,我再次得到同样的错误,很奇怪。 – HelloWorld