$ irb <internal:lib/rubygems/custom_require>:29:in `require': closed stream (IOError) from <internal:lib/rubygems/custom_require>:29:in `require' from /usr/lib/ruby/1.9.1/irb.rb:13:in `<top (required)>' from <internal:lib/rubygems/custom_require>:29:in `require' from <internal:lib/rubygems/custom_require>:29:in `require' from /usr/bin/irb:9:in `<main>'とか
$ heroku logs <internal:lib/rubygems/custom_require>:29: [BUG] Segmentation fault ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux] -- control frame ---------- c:0005 p:---- s:0016 b:0016 l:000015 d:000015 CFUNC :require c:0004 p:0013 s:0012 b:0012 l:000011 d:000011 METHOD <internal:lib/rubygems/custom_require>:29 c:0003 p:0011 s:0007 b:0007 l:001498 d:000440 EVAL /usr/bin/heroku:9 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH c:0001 p:0000 s:0002 b:0002 l:001498 d:001498 TOP --------------------------- -- Ruby level backtrace information ---------------------------------------- /usr/bin/heroku:9:in `<main>' <internal:lib/rubygems/custom_require>:29:in `require' <internal:lib/rubygems/custom_require>:29:in `require' セグメンテーション違反です
とか。
コンソール開きっぱなしにしておいただけでこうなるってどういうこと?
って調べてみると以下が。
http://www.ruby-forum.com/topic/133765
どうやらprelinkがいかんらしい。
なので下記を参考に修正してみた
http://selfkleptomaniac.org/archives/1341どうだろ?
# vi /etc/prelink.conf.d/ruby.conf # cat /etc/prelink.conf.d/ruby.conf -b /usr/bin/ruby
#2012/2/28追加
まったく問題起こってません♪
0 件のコメント:
コメントを投稿