在尝试安装宝石“瘦身”后,我陷入了死胡同。关于环境
RHEL 6.0
Ruby 1.9.3
Rails 3.2.8
如上所述,我添加了
gem 'thin'
到我的Gemfile并运行
bundle install
安装似乎很成功,但在那之后,无论何时我运行宝石,我都会
<internal:prelude>:8:in `lock': ERROR: Failed to build gem native extension. (Gem::Ext::BuildError)
ERROR: Failed to build gem native extension.
deadlock; recursive locking
Gem files will remain installed in /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.3 for inspection.
Results logged to /usr/local/lib/ruby/gems/1.9.1/extensions/x86_64-linux/1.9.1-static/eventmachine-1.0.3/gem_make.out
如果我再次运行&#39;捆绑安装&#39;我得到了
Unfortunately, a fatal error has occurred. Please see the Bundler troubleshooting documentation at
http://bit.ly/bundler-issues. Thanks!
<internal:prelude>:8:in `lock': ERROR: Failed to build gem native extension. (Gem::Ext::BuildError)
ERROR: Failed to build gem native extension.
deadlock; recursive locking
Gem files will remain installed in /usr/local/lib/ruby/gems/1.9.1/gems/eventmachine-1.0.3 for inspection.
Results logged to /usr/local/lib/ruby/gems/1.9.1/extensions/x86_64-linux/1.9.1-static/eventmachine-1.0.3/gem_make.out
我甚至试图在https://github.com/bundler/bundler/blob/master/ISSUES.md进行故障排除,但一切都没有改变。
在eventmachine gem安装中看起来有些东西已损坏,但我无法卸载或重新安装。
有人有想法吗?
我希望至少能够在瘦安装之前恢复到(工作)配置....