When running bundle I get the following issue…
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 Makefilemake 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 thatgem install json -v '1.7.5'succeeds before
bundling.
I tried doing the following sudo aptitude install ruby1.9.1-dev but that didn’t work.
The issue was with colons in the makefile…
Escaping colons in filenames in a Makefile
Doing this resolved it…
https://stackoverflow.com/a/9952952/1026266