Allow utf-8 charactor in config value (#179)

This commit is contained in:
Moe 2017-11-14 07:41:58 +08:00 committed by Pedro Belo
parent 2dcd3a5848
commit e0c2ffe813

View File

@ -1,5 +1,10 @@
#!/usr/bin/env ruby
# Allow utf-8 charactor in config value
# For example, APP_NAME=中文字符
Encoding.default_external = Encoding::UTF_8
Encoding.default_internal = Encoding::UTF_8
# pick a custom env file if set
if File.exists?("/tmp/envfile")
custom_env = true