Postgres new Rails droplet Locale error

October 14, 2015 792 views
PostgreSQL Ruby on Rails Ubuntu

I have googled the issue about the one click rails setup locale issue settings and have tried all of them which didn't work for me.

I tried running a new fresh droplet and I still get the same locale issue. Any fix?

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LCALL = (unset),
LC
CTYPE = "UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C")

My -locale settings

locale: Cannot set LCCTYPE to default locale: No such file or directory
locale: Cannot set LC
ALL to default locale: No such file or directory
LANG=enUS.UTF-8
LANGUAGE=
LC
CTYPE=UTF-8
LCNUMERIC="enUS.UTF-8"
LCTIME="enUS.UTF-8"
LCCOLLATE="enUS.UTF-8"
LCMONETARY="enUS.UTF-8"
LCMESSAGES="enUS.UTF-8"
LCPAPER="enUS.UTF-8"
LCNAME="enUS.UTF-8"
LCADDRESS="enUS.UTF-8"
LCTELEPHONE="enUS.UTF-8"
LCMEASUREMENT="enUS.UTF-8"
LCIDENTIFICATION="enUS.UTF-8"
LC_ALL=

Be the first one to answer this question.