brew 在gem update --system後異常(10.5) - MAC
By Emily
at 2012-03-30T11:08
at 2012-03-30T11:08
Table of Contents
為了練習rails開發,就用brew安裝ruby,再以brew安裝的ruby手動裝上最新版的gem。
最後用這ruby1.9.3 + gem1.8 裝起了整個rails 3.2。
本來這用手動安裝的Ruby on Rails在我的Leopard上運作得好好的,
但大前天一時手賤鬼迷心竅就按下了gem update --system。
過程中出現error便中斷了(Ruby真是充滿了迷之Bug,我現在還沒能找出問題根源)。
此之後的brew就爛了,舉例來說會出現
$ brew -v
/usr/local/Library/Homebrew/patches.rb:94:
warning: parenthesize argument(s) for future version
0.9
這樣的訊息。且brew install會失敗:
Error: Failed executing: make install (ruby.rb:62)
執行 brew doctor的輸出如下:
Warning: Your Homebrew is outdated
You haven't updated for at least 24 hours, this is a long time in brewland!
Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libntfs-3g.80.dylib /usr/local/lib/libntfs.9.0.0.dylib /usr/local/lib/libruby.1.8.7.dylib /usr/local/lib/libruby.1.9.1.dylib /usr/local/lib/libublio.1.dylib
Warning: Unbrewed .la files were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected .la files:
/usr/local/lib/libntfs-3g.la /usr/local/lib/libntfs.la /usr/local/lib/libublio.la
Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected .pc files:
/usr/local/lib/pkgconfig/fuse-ext2.pc /usr/local/lib/pkgconfig/libntfs-3g.pc /usr/local/lib/pkgconfig/libublio.pc /usr/local/lib/pkgconfig/ruby-1.9.pc
Warning: Unbrewed static libraries were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected static libraries:
/usr/local/lib/libntfs-3g.a /usr/local/lib/libntfs.a /usr/local/lib/libruby-static.a /usr/local/lib/libruby.1.9.1-static.a /usr/local/lib/libublio.a
Warning: /usr/bin occurs before /usr/local/bin
This means that system-provided programs will be used instead of those
provided by Homebrew. The following tools exist at both paths:
cap
capify
cscope
ctags
gem
gpgen
mongrel_rails
ocs
pydoc
python
python-config
pythonw
rails
rake
rdoc
redcloth
ri
ruby
smtpd.py
sqlite3
update_rubygems
Consider ammending your PATH so that /usr/local/bin
is ahead of /usr/bin in your PATH.
--
以前有個朋友,常看他盯著擺在書架上的駱馬書(perl)和恐龍書(os)
從他的背影我看到發散出來得精神力量,露出滿足的表情
他把筆電裡的windows fo掉,裝了全世界最難裝的debian
蓄了長髮,墮入陰影,過著半人半神的黑客生活
因為他太強大了,所以不好意思稱他宅男 by tantu
--
最後用這ruby1.9.3 + gem1.8 裝起了整個rails 3.2。
本來這用手動安裝的Ruby on Rails在我的Leopard上運作得好好的,
但大前天一時手賤鬼迷心竅就按下了gem update --system。
過程中出現error便中斷了(Ruby真是充滿了迷之Bug,我現在還沒能找出問題根源)。
此之後的brew就爛了,舉例來說會出現
$ brew -v
/usr/local/Library/Homebrew/patches.rb:94:
warning: parenthesize argument(s) for future version
0.9
這樣的訊息。且brew install會失敗:
Error: Failed executing: make install (ruby.rb:62)
執行 brew doctor的輸出如下:
Warning: Your Homebrew is outdated
You haven't updated for at least 24 hours, this is a long time in brewland!
Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libntfs-3g.80.dylib /usr/local/lib/libntfs.9.0.0.dylib /usr/local/lib/libruby.1.8.7.dylib /usr/local/lib/libruby.1.9.1.dylib /usr/local/lib/libublio.1.dylib
Warning: Unbrewed .la files were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected .la files:
/usr/local/lib/libntfs-3g.la /usr/local/lib/libntfs.la /usr/local/lib/libublio.la
Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected .pc files:
/usr/local/lib/pkgconfig/fuse-ext2.pc /usr/local/lib/pkgconfig/libntfs-3g.pc /usr/local/lib/pkgconfig/libublio.pc /usr/local/lib/pkgconfig/ruby-1.9.pc
Warning: Unbrewed static libraries were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected static libraries:
/usr/local/lib/libntfs-3g.a /usr/local/lib/libntfs.a /usr/local/lib/libruby-static.a /usr/local/lib/libruby.1.9.1-static.a /usr/local/lib/libublio.a
Warning: /usr/bin occurs before /usr/local/bin
This means that system-provided programs will be used instead of those
provided by Homebrew. The following tools exist at both paths:
cap
capify
cscope
ctags
gem
gpgen
mongrel_rails
ocs
pydoc
python
python-config
pythonw
rails
rake
rdoc
redcloth
ri
ruby
smtpd.py
sqlite3
update_rubygems
Consider ammending your PATH so that /usr/local/bin
is ahead of /usr/bin in your PATH.
--
以前有個朋友,常看他盯著擺在書架上的駱馬書(perl)和恐龍書(os)
從他的背影我看到發散出來得精神力量,露出滿足的表情
他把筆電裡的windows fo掉,裝了全世界最難裝的debian
蓄了長髮,墮入陰影,過著半人半神的黑客生活
因為他太強大了,所以不好意思稱他宅男 by tantu
--
Tags:
MAC
All Comments
By Ida
at 2012-04-01T04:11
at 2012-04-01T04:11
By Rae
at 2012-04-02T12:10
at 2012-04-02T12:10
By Freda
at 2012-04-07T08:11
at 2012-04-07T08:11
By Megan
at 2012-04-10T21:01
at 2012-04-10T21:01
By Enid
at 2012-04-15T12:48
at 2012-04-15T12:48
Related Posts
美國Apple ID
By Mason
at 2012-03-30T10:23
at 2012-03-30T10:23
中文字體變醜了
By Hedda
at 2012-03-30T09:42
at 2012-03-30T09:42
限時免費
By Hedy
at 2012-03-30T07:11
at 2012-03-30T07:11
日文輸入法
By William
at 2012-03-30T06:11
at 2012-03-30T06:11
iPad與MBA都支援5GHz,速度卻不同
By Ingrid
at 2012-03-29T22:53
at 2012-03-29T22:53