«前の日記(2009-04-18(Sat)) 最新 次の日記(2009-04-25(Sat))» 編集

これ日記なん?


2009-04-19(Sun) [長年日記]

_ hanna --gems が死んでしまう

1.8.6ではだめなのかしら。ubuntu hardy + ruby 1.8.6 野良ビルド

kog@ubu1:~/src$ ruby18 -v
ruby 1.8.6 (2009-03-31 patchlevel 368) [i686-linux]
kog@ubu1:~/src$ sudo hanna --gems
Hanna is installing documentation for 77 gems ...
Installing RDoc documentation for data_objects-0.9.11...
Installing RDoc documentation for activesupport-2.3.2...
Installing RDoc documentation for gettext-2.0.1...
Installing RDoc documentation for rspec-1.2.4...
Could not find main page README.rdoc
Installing RDoc documentation for mongrel-1.1.5...
Installing RDoc documentation for sqlite3-ruby-1.2.4...
Installing RDoc documentation for ruby-openid-2.1.4...
Installing RDoc documentation for merb-haml-1.0.11...
Installing RDoc documentation for activeresource-2.3.2...
Installing RDoc documentation for merb-assets-1.0.11...
Installing RDoc documentation for highline-1.5.0...
Installing RDoc documentation for thor-0.9.9...
Installing RDoc documentation for actionmailer-2.3.2...
Installing RDoc documentation for daemons-1.0.10...
Installing RDoc documentation for capistrano-ext-1.2.1...
Installing RDoc documentation for randexp-0.1.4...
Installing RDoc documentation for rcodetools-0.8.3.0...
Installing RDoc documentation for merb-auth-core-1.0.11...
Installing RDoc documentation for actionpack-2.3.2...
*** glibc detected *** /usr/local/bin/ruby18: munmap_chunk(): invalid pointer: 0x094d01c0 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(cfree+0x1bb)[0xb7dd761b]
/usr/local/bin/ruby18[0x807253e]
/usr/local/bin/ruby18(ruby_xmalloc+0x85)[0x8072ab5]
/usr/local/bin/ruby18[0x80cc433]
/usr/local/bin/ruby18(rb_yield_values+0x3f)[0x805c2ff]
/usr/local/bin/ruby18[0x80d90f8]
/usr/local/bin/ruby18[0x805bd2e]
/usr/local/bin/ruby18(rb_yield+0x21)[0x805c371]
/usr/local/bin/ruby18(rb_ary_each+0x25)[0x80cc8a5]
/usr/local/bin/ruby18[0x8060883]
/usr/local/bin/ruby18[0x8060b31]
/usr/local/bin/ruby18[0x8061067]
/usr/local/bin/ruby18(rb_funcall+0x20)[0x80611b0]
/usr/local/bin/ruby18(rb_each+0x2a)[0x80d933a]
/usr/local/bin/ruby18(rb_iterate+0x239)[0x8059099]
/usr/local/bin/ruby18[0x80d95d9]
/usr/local/bin/ruby18[0x80573d4]
/usr/local/bin/ruby18[0x8060883]
/usr/local/bin/ruby18[0x8060b31]
/usr/local/bin/ruby18[0x805c795]
/usr/local/bin/ruby18[0x805f860]
/usr/local/bin/ruby18[0x80607bf]
/usr/local/bin/ruby18[0x8060b31]
/usr/local/bin/ruby18[0x805c8b5]
/usr/local/bin/ruby18[0x805ecb1]
/usr/local/bin/ruby18[0x805c6a4]
/usr/local/bin/ruby18[0x805d703]
/usr/local/bin/ruby18[0x805bae2]
/usr/local/bin/ruby18(rb_yield_values+0x7f)[0x805c33f]
/usr/local/bin/ruby18[0x80d90f8]
/usr/local/bin/ruby18[0x805bd2e]
/usr/local/bin/ruby18(rb_yield+0x21)[0x805c371]
/usr/local/bin/ruby18(rb_ary_each+0x25)[0x80cc8a5]
/usr/local/bin/ruby18[0x8060883]
/usr/local/bin/ruby18[0x8060b31]
/usr/local/bin/ruby18[0x8061067]
/usr/local/bin/ruby18(rb_funcall+0x20)[0x80611b0]
/usr/local/bin/ruby18(rb_each+0x2a)[0x80d933a]
/usr/local/bin/ruby18(rb_iterate+0x239)[0x8059099]
/usr/local/bin/ruby18[0x80d95d9]
/usr/local/bin/ruby18[0x80573d4]
/usr/local/bin/ruby18[0x8060883]
/usr/local/bin/ruby18[0x8060b31]
/usr/local/bin/ruby18[0x805c795]
/usr/local/bin/ruby18[0x805f860]
/usr/local/bin/ruby18[0x80607bf]
/usr/local/bin/ruby18[0x8060b31]
/usr/local/bin/ruby18[0x805c8b5]
/usr/local/bin/ruby18[0x805d965]
/usr/local/bin/ruby18[0x806a9b6]
/usr/local/bin/ruby18[0x806adbb]
/usr/local/bin/ruby18[0x80573d4]
/usr/local/bin/ruby18[0x8060883]
/usr/local/bin/ruby18[0x8060b31]
/usr/local/bin/ruby18[0x805c8b5]
/usr/local/bin/ruby18[0x80607bf]
/usr/local/bin/ruby18[0x8060b31]
/usr/local/bin/ruby18[0x805c795]
/usr/local/bin/ruby18[0x805f860]
/usr/local/bin/ruby18[0x805bae2]
/usr/local/bin/ruby18[0x805cb42]
/usr/local/bin/ruby18[0x805f465]
/usr/local/bin/ruby18[0x80607bf]
======= Memory map: ========
08048000-080f6000 r-xp 00000000 fe:00 109760     /usr/local/bin/ruby18
080f6000-080f7000 rw-p 000ae000 fe:00 109760     /usr/local/bin/ruby18
080f7000-0df6e000 rw-p 080f7000 00:00 0          [heap]
b62cc000-b62d6000 r-xp 00000000 fe:00 344187     /lib/libgcc_s.so.1
b62d6000-b62d7000 rw-p 0000a000 fe:00 344187     /lib/libgcc_s.so.1
b62df000-b78a5000 rw-p b62df000 00:00 0
b78a5000-b78a9000 r-xp 00000000 fe:00 214323     /usr/local/lib/ruby/1.8/i686-linux/strscan.so
b78a9000-b78aa000 rw-p 00003000 fe:00 214323     /usr/local/lib/ruby/1.8/i686-linux/strscan.so
b78aa000-b7bc8000 rw-p b78aa000 00:00 0
b7bc8000-b7bd1000 r-xp 00000000 fe:00 344097     /lib/tls/i686/cmov/libnss_files-2.7.so
b7bd1000-b7bd3000 rw-p 00008000 fe:00 344097     /lib/tls/i686/cmov/libnss_files-2.7.so
b7bd3000-b7bdb000 r-xp 00000000 fe:00 344099     /lib/tls/i686/cmov/libnss_nis-2.7.so
b7bdb000-b7bdd000 rw-p 00007000 fe:00 344099     /lib/tls/i686/cmov/libnss_nis-2.7.so
b7bdd000-b7bf1000 r-xp 00000000 fe:00 344094     /lib/tls/i686/cmov/libnsl-2.7.so
b7bf1000-b7bf3000 rw-p 00013000 fe:00 344094     /lib/tls/i686/cmov/libnsl-2.7.so
b7bf3000-b7bf5000 rw-p b7bf3000 00:00 0
b7bf5000-b7bfc000 r-xp 00000000 fe:00 344095     /lib/tls/i686/cmov/libnss_compat-2.7.so
b7bfc000-b7bfe000 rw-p 00006000 fe:00 344095     /lib/tls/i686/cmov/libnss_compat-2.7.so
b7c06000-b7ca5000 rw-p b7c06000 00:00 0
b7ca5000-b7cbf000 r-xp 00000000 fe:00 340090     /usr/local/lib/ruby/1.8/i686-linux/syck.so
b7cbf000-b7cc0000 rw-p 0001a000 fe:00 340090     /usr/local/lib/ruby/1.8/i686-linux/syck.so
b7cc0000-b7cc4000 r-xp 00000000 fe:00 340098     /usr/local/lib/ruby/1.8/i686-linux/stringio.so
b7cc4000-b7cc5000 rw-p 00003000 fe:00 340098     /usr/local/lib/ruby/1.8/i686-linux/stringio.so
b7cc5000-b7d50000 rw-p b7cc5000 00:00 0
b7d50000-b7d64000 r-xp 00000000 fe:00 344102     /lib/tls/i686/cmov/libpthread-2.7.so
b7d64000-b7d66000 rw-p 00013000 fe:00 344102     /lib/tls/i686/cmov/libpthread-2.7.so
b7d66000-b7d68000 rw-p b7d66000 00:00 0
b7d68000-b7eb1000 r-xp 00000000 fe:00 344088     /lib/tls/i686/cmov/libc-2.7.so
b7eb1000-b7eb2000 r--p 00149000 fe:00 344088     /lib/tls/i686/cmov/libc-2.7.so
b7eb2000-b7eb4000 rw-p 0014a000 fe:00 344088     /lib/tls/i686/cmov/libc-2.7.so
b7eb4000-b7eb7000 rw-p b7eb4000 00:00 0
b7eb7000-b7eda000 r-xp 00000000 fe:00 344092     /lib/tls/i686/cmov/libm-2.7.so
b7eda000-b7edc000 rw-p 00023000 fe:00 344092     /lib/tls/i686/cmov/libm-2.7.so
b7edc000-b7ee5000 r-xp 00000000 fe:00 344090     /lib/tls/i686/cmov/libcrypt-2.7.so
b7ee5000-b7ee7000 rw-p 00008000 fe:00 344090     /lib/tls/i686/cmov/libcrypt-2.7.so
b7ee7000-b7f0f000 rw-p b7ee7000 00:00 0
b7f0f000-b7f11000 r-xp 00000000 fe:00 344091     /lib/tls/i686/cmov/libdl-2.7.so
b7f11000-b7f13000 rw-p 00001000 fe:00 344091     /lib/tls/i686/cmov/libdl-2.7.so
b7f13000-b7f1a000 r-xp 00000000 fe:00 344104     /lib/tls/i686/cmov/librt-2.7.so
b7f1a000-b7f1c000 rw-p 00006000 fe:00 344104     /lib/tls/i686/cmov/librt-2.7.so
b7f1c000-b7f1d000 rw-p b7f1c000 00:00 0
b7f1d000-b7f1f000 r-xp 00000000 fe:00 340087     /usr/local/lib/ruby/1.8/i686-linux/etc.so
b7f1f000-b7f20000 rw-p 00001000 fe:00 340087     /usr/local/lib/ruby/1.8/i686-linux/etc.so
b7f20000-b7f23000 r-xp 00000000 fe:00 340101     /usr/local/lib/ruby/1.8/i686-linux/thread.so
b7f23000-b7f24000 rw-p 00002000 fe:00 340101     /usr/local/lib/ruby/1.8/i686-linux/thread.so
b7f24000-b7f26000 rw-p b7f24000 00:00 0
b7f26000-b7f27000 r-xp b7f26000 00:00 0          [vdso]
b7f27000-b7f41000 r-xp 00000000 fe:00 344253     /lib/ld-2.7.so
b7f41000-b7f43000 rw-p 00019000 fe:00 344253     /lib/ld-2.7.so
bffc9000-bffdf000 rw-p bffea000 00:00 0          [stack]
Aborted

(追記)どうも、gem install rdoc -v 2.3 が駄目な模様。gem18 uninstall rdoc

(追記2)いや、ruby18 script/server とかもおかしい感じ。壊れかけ?

_ 宍道湖

もういちどセットアップしてみたら、動かない動かないorz

  • gem install diff-lcs will_paginate
  • gem install rails -v=2.0.2
  • can't activate gettext ( runtime), already activated gettext-2.0.1 とか出る。
    • cd vendor ; gem unpack gettext -v=1.93
    • cd gettext-1.93.0/lib; cp -pr * ../../
  • cp config/development_sample.rb config/development.rb
  • vi app/model/issue.rb
    • svn/client をとりあえずコメントアウトする

redmineて、git対応してるはずなんだけど、各ブランチて見えないみたい?

_ subversion その場import

svn mkdir http://...../hoge
svn co http://..../hoge .

これで、カレントディレクトリが hogeのチェックアウトしたものに変わるそうな。カレントディレクトリと、リポジトリの両方に同名のフォルダ・ファイルがあったら、どうなるんかなあ...