这可能与https://stackoverflow.com/questions/21647717/error-installing-r2corba-on-jruby有关,也可能没有,我在jruby上描述了类似的问题。
这次我使用ruby 1.9.3。在尝试安装r2corba时,我得到以下内容:
Installing r2corba (1.4.1) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/usr/local/bin/ruby mkrf_conf_srcgem.rb
Failed to install taosource gem.
Gem sources: ["http://rubygems.org/"]
Gem files will remain installed in /home/tomasz/.bundler/tmp/16489/gems/r2corba-1.4.1 for inspection.
Results logged to /home/tomasz/.bundler/tmp/16489/gems/r2corba-1.4.1/./gem_make.out
An error occured while installing r2corba (1.4.1), and Bundler cannot continue.
Make sure that `gem install r2corba -v '1.4.1'` succeeds before bundling.