Use string when setting env value.

This commit is contained in:
Guo Xiang Tan 2018-08-07 16:38:16 +08:00
parent 81c6849194
commit 56d3e07206

View File

@ -1,7 +1,7 @@
#!/usr/bin/env ruby
if !ENV["RAILS_ENV"] && (ARGV == ["s"] || ARGV == ["server"])
ENV["UNICORN_PORT"] = 3000
ENV["UNICORN_PORT"] = "3000"
exec File.expand_path("unicorn", __dir__)
end