A platform for community discussion. Free, open, simple.
correct issues
Sam84c4dfd22dac
diff --git a/bin/rails b/bin/railsindex 57d0505314d..fce3537f7cb 100755--- a/bin/rails+++ b/bin/rails@@ -1,6 +1,7 @@#!/usr/bin/env ruby-if !ENV["RAILS_ENV"] && (ARGV == ["s"] || ARGV["server"])+if !ENV["RAILS_ENV"] && (ARGV == ["s"] || ARGV == ["server"])+ ENV["UNICORN_PORT"] = "9292"exec File.expand_path("unicorn", __dir__)enddiff --git a/bin/unicorn b/bin/unicornindex b890a840688..4bd8e9e7d1e 100755--- a/bin/unicorn+++ b/bin/unicorn@@ -21,6 +21,7 @@ if !ARGV.include?("-E") &&ENV["UNICORN_PORT"] ||= "9292"ENV["UNICORN_SIDEKIQS"] ||= "1"+endload Gem.bin_path('unicorn', 'unicorn')