読者です 読者をやめる 読者になる 読者になる

あっきぃ日誌

鉄道ブログのような技術系ブログのようななにか

mikutter Advent Calendar 20日目

makepotがうまく行かない件。

$ git clone -b develop git://toshia.dip.jp/mikutter.git nikutter
$ cd nikutter
$ ruby1.9 mikutter.rb makepot --confroot ~/.nikutter2 --debug
failed plugins: [:achievement, :activity, :bugreport, :change_account, :command, "console", "direct_message", :display_requirements, :extract, :gtk, :gui, :home_timeline, :mentions, :notify, :openimg, :profile, :proxy, :ratelimit, :saved_search, :search, :set_input, :set_view, :settings, :shortcutkey, :smartthread, :sound, :streaming]

と、こんな感じ。Ruby2.0はエラーになるのでこれは詳細を調査予定。ちなみにnikutterはdev-mikutter→デブ・ミク→初音ニク→nikutterと。どうぞご利用ください。

なお、Redmineにはtoshi_a氏が登録済み。バグ #629: mikutter makepot コマンドが正しく動作しないらしい - mikutter - やること

Ruby2.0の場合

そもそも起動しないようだな??

$ ruby mikutter.rb 
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require': cannot load such file -- memoize (LoadError)
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
	from /Users/akkie/Projects/nikutter/core/miquire.rb:98:in `miquire_original_require'
	from /Users/akkie/Projects/nikutter/core/miquire.rb:71:in `block (2 levels) in miquire'
	from /Users/akkie/Projects/nikutter/core/miquire.rb:70:in `chdir'
	from /Users/akkie/Projects/nikutter/core/miquire.rb:70:in `block in miquire'
	from /Users/akkie/Projects/nikutter/core/miquire.rb:66:in `each'
	from /Users/akkie/Projects/nikutter/core/miquire.rb:66:in `miquire'
	from /Users/akkie/Projects/nikutter/core/miquire.rb:18:in `miquire'
	from /Users/akkie/Projects/nikutter/core/utils.rb:39:in `<top (required)>'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
	from mikutter.rb:33:in `<main>'

と思ったらいろいろgem足りてなかった。

$ sudo gem install bundler
$ sudo bundle install