Ruby-GetTextで`msgmerge' may not be found.

rakeタスクのupdatepoを実行すると`msgmerge' may not be found.

一度目は問題なく実行できたが2度目から`msgmerge' may not be found.とエラーになってしまう。
既に存在するpotとpoにマージするmsgmergeがないためにエラーになっているらしい。

Rakefile
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.

require(File.join(File.dirname(__FILE__), 'config', 'boot'))

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'

require 'tasks/rails'


desc "Update pot/po files."
task :updatepo do
  require 'gettext/utils'
  GetText.update_pofiles("atotok", #テキストドメイン名(init_gettextで使用した名前) 
                         Dir.glob("{app,config,components,lib}/**/*.{rb,erb,rhtml}"), #ターゲットとなるファイル
                         "atotok 1.0.0" #アプリケーションのバージョン
                         )
end

desc "Create mo-files"
task :makemo do
  require 'gettext/utils'
  GetText.create_mofiles(true, "po", "locale")
end
エラー内容
(in /Users/kuru/NetBeansProjects/atotok/atotok_app)
po/atotok.pot
/Library/Ruby/Gems/1.8/gems/gettext-1.91.0/lib/gettext/parser/ruby.rb:36: command not found: msgmerge --version
rake aborted!
`msgmerge' may not be found. 
Install GNU Gettext then set PATH or MSGMERGE_PATH correctly.
/Users/kuru/NetBeansProjects/atotok/atotok_app/Rakefile:16
(See full trace by running task with --trace)
ここをクリックし、追跡を有効にしてタスクを再実行してください

msgmergeのインストール

msgmergeはLocomotiveに入っているらしいのでLocomotiveをインストールして試してみる。
http://sourceforge.net/projects/locomotiveのDownloadから
一番新しいLocomotive_2.0.8_Mar2007.dmg をダウンロードしインストール。


msgmergeは下記のフォルダにインストールされていた。
/Applications/Locomotive2/Bundles/standardRailsMar2007.locobundle/i386/bin


.bash_profileにパスを設定してもエラーになってしまう。
何か間違っているのか
まだ、エラーは無くならない。


取りあえず、これは保留