From 56d3e0720638d3130b9d236da89809201cea8721 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Tue, 7 Aug 2018 16:38:16 +0800 Subject: [PATCH] Use string when setting env value. --- bin/rails | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/rails b/bin/rails index 0e6a19807ed..6ce45ce44f8 100755 --- a/bin/rails +++ b/bin/rails @@ -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