Skip to content

Commit 2259b48

Browse files
authored
Merge pull request rails#35569 from prathamesh-sonpatki/env-vars
Mention `environment variable` instead of just `environment`
2 parents 6ebd2e6 + 4cdc93a commit 2259b48

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

railties/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,9 +268,9 @@
268268
269269
*Jose Luis Duran*
270270
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.
272272
273-
The `BINDING` environment should be used instead.
273+
The `BINDING` environment variable should be used instead.
274274
275275
Fixes #29516.
276276

railties/lib/rails/commands/server/server_command.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,8 @@ def host
221221

222222
if ENV["HOST"] && !ENV["BINDING"]
223223
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.
226226
MSG
227227

228228
return ENV["HOST"]

0 commit comments

Comments
 (0)