mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Use string when setting env value.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
|
|
||||||
if !ENV["RAILS_ENV"] && (ARGV == ["s"] || ARGV == ["server"])
|
if !ENV["RAILS_ENV"] && (ARGV == ["s"] || ARGV == ["server"])
|
||||||
ENV["UNICORN_PORT"] = 3000
|
ENV["UNICORN_PORT"] = "3000"
|
||||||
exec File.expand_path("unicorn", __dir__)
|
exec File.expand_path("unicorn", __dir__)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user