[英]"bundle update" failed to install pg (0.14.1) with native extensions
[英]failed bundle install and update
我在Windows上使用虛擬機(ubuntu),捆綁安裝和捆綁更新始終失敗。
vagrant@precise32:/vagrant$ sudo bundle update
Unfortunately, a fatal error has occurred. Please see the Bundler
troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!
/usr/local/lib/site_ruby/1.9.1/rubygems/ext/builder.rb:89:in `run': ERROR: \
Failed to build gem native extension. (Gem::Ext::BuildError)`
可以用Gemfile更新qsn嗎?
這意味着,一些gem依賴項不存在。 檢查哪個gem需要依賴項,並使用sudo apt-get install library-name
進行安裝。 另外,bundle命令不應與sudo一起運行,因為這會產生問題。 嘗試使其特定於項目而不是在根級別。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.