Default `rails server` port should be 3000.
This commit is contained in:
parent
84c4dfd22d
commit
81c6849194
|
@ -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"] = "9292"
|
ENV["UNICORN_PORT"] = 3000
|
||||||
exec File.expand_path("unicorn", __dir__)
|
exec File.expand_path("unicorn", __dir__)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue