From 81c68491941bb7ac8760bd020e7e361acd0501bc Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Tue, 7 Aug 2018 16:33:04 +0800 Subject: [PATCH] Default `rails server` port should be 3000. --- bin/rails | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/rails b/bin/rails index fce3537f7cb..0e6a19807ed 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"] = "9292" + ENV["UNICORN_PORT"] = 3000 exec File.expand_path("unicorn", __dir__) end