gettext本地化rake makepo时发生错误No such file or director

用gettext做本地化时,运行rake任务可能会碰到如下错误:

No such file or directory - msgmerge po/xx.pot tmp.pot

这个错误的引起原因和解决办法见

http://www.iteye.com/topic/170162

主要是安装一下gettext在windows下的二进制版本并设置path。上述链接的解决办法中所说的拷贝和改名po文件在我的开发环境中不需要做,tmp.pot文件是生成在rails app开发根路径下。

你可能感兴趣的:(windows,Rails)