当我尝试在我的 VPS上的catarse项目上运行捆绑安装时,该项目所需的许多 gem 返回错误并且我无法安装(我正在使用:ruby 1.9.2p320)。
例如返回错误的宝石是:
- 薄的
- 事件机
- 线缓存19
错误总是以以下内容开头:
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
并以:
Gem files will remain installed in /usr/local/rvm/gems/ruby-1.9.2-p320@catarse/gems/linecache19-0.5.12 for inspection.
Results logged to /usr/local/rvm/gems/ruby-1.9.2-p320@catarse/gems/linecache19-0.5.12/ext/trace_nums/gem_make.out
An error occurred while installing linecache19 (0.5.12), and Bundler cannot continue.
Make sure that `gem install linecache19 -v '0.5.12'` succeeds before bundling.
你能帮忙弄清楚吗?