fat_free_crm 布署,运行bundle install时,到installing json(1.7.7)报错,如何解决?

胖狐狸 发布于 2013/03/11 10:03
阅读 2K+
收藏 0

@Kewin_Wang 你好,想跟你请教个问题:

我在布署Fat Free CRM时,运行bundle install 会报如下错误,请帮帮忙

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

    C:/RailsInstaller/Ruby1.9.3/bin/ruby.exe extconf.rb
creating Makefile

make
generating generator-i386-mingw32.def
compiling generator.c
make: gcc: Command not found
make: *** [generator.o] Error 127


Gem files will remain installed in C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9
.1/gems/json-1.7.7 for inspection.
Results logged to C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/json-1.7.
7/ext/json/ext/generator/gem_make.out
An error occurred while installing json (1.7.7), and Bundler cannot continue.
Make sure that `gem install json -v '1.7.7'` succeeds before bundling.

加载中
OSCHINA
登录后可查看更多优质内容
返回顶部
顶部