MiniExifTool - Errno :: ENAMETOOLONG - 仅在prod中出错

时间:2015-03-03 06:37:43

标签: perl ubuntu ruby-on-rails-3.1 postgresql-9.3 exiftool

尝试使用geotaggued保存手动miniexiftool gem图片时收到错误消息。它在我的本地机器上工作正常。这是我得到的错误:

Errno::ENAMETOOLONG (File name too long - /app/.mini_exiftool/exiftool_tags_perl: warning: Setting locale failed_
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_US_UTF-8"
    are supported and installed on your system_
perl: warning: Falling back to the standard locale ("C")_
9_27.pstore):
  app/controllers/pictures_controller.rb:158:in `geotag'

我已尝试将区域设置重置为en_US.UTF-8 using dpkg-reconfigure区域设置。 任何帮助将非常感激。 谢谢!

0 个答案:

没有答案