當運行包我得到了以下問題......的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