File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
lib/rails/commands/server Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 268
268
269
269
*Jose Luis Duran*
270
270
271
- * Deprecate support for using the `HOST` environment to specify the server IP.
271
+ * Deprecate support for using the `HOST` environment variable to specify the server IP.
272
272
273
- The `BINDING` environment should be used instead.
273
+ The `BINDING` environment variable should be used instead.
274
274
275
275
Fixes #29516.
276
276
Original file line number Diff line number Diff line change @@ -221,8 +221,8 @@ def host
221
221
222
222
if ENV [ "HOST" ] && !ENV [ "BINDING" ]
223
223
ActiveSupport ::Deprecation . warn ( <<-MSG . squish )
224
- Using the `HOST` environment to specify the IP is deprecated and will be removed in Rails 6.1.
225
- Please use `BINDING` environment instead.
224
+ Using the `HOST` environment variable to specify the IP is deprecated and will be removed in Rails 6.1.
225
+ Please use `BINDING` environment variable instead.
226
226
MSG
227
227
228
228
return ENV [ "HOST" ]
You can’t perform that action at this time.
0 commit comments