我刚刚部署了一些新代码(视图中只有一些文本更新),在处理命令cap deploy时,我收到以下错误消息:
** [out :: IP] Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
** [out :: IP]
** [out :: IP] /usr/local/bin/ruby extconf.rb
** [out :: IP] creating Makefile
** [out :: IP]
** [out :: IP] make "DESTDIR="
** [out :: IP]
** [out :: IP] Gem files will remain installed in /home/deployer/fileto/shared/bundle/ruby/2.0.0/gems/json-1.8.1 for inspection.
** [out :: IP] Results logged to /home/deployer/appname/shared/bundle/ruby/2.0.0/gems/json-1.8.1/ext/json/ext/generator/gem_make.out
** [out :: IP] An error occurred while installing json (1.8.1), and Bundler cannot continue.
** [out :: IP] Make sure that `gem install json -v '1.8.1'` succeeds before bundling.
它今天才出现,我有 2 周没有对应用程序做任何事情。我尝试将json gem 添加到 Gemfile,但没有帮助 - 仍然是同样的错误。
问题是什么?
谢谢