mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 23:52:46 +08:00
Use string when setting env value.
This commit is contained in:
parent
81c6849194
commit
56d3e07206
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user