mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #19581 from kirs/bin-deprecation-version
Replace `in Rails 4` with `in Rails %version%` in deprecation message
This commit is contained in:
commit
6b53283051
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
||||||
require 'pathname'
|
require 'pathname'
|
||||||
|
require 'rails/version'
|
||||||
|
|
||||||
module Rails
|
module Rails
|
||||||
module AppRailsLoader
|
module AppRailsLoader
|
||||||
|
@ -9,7 +10,7 @@ module Rails
|
||||||
BUNDLER_WARNING = <<EOS
|
BUNDLER_WARNING = <<EOS
|
||||||
Looks like your app's ./bin/rails is a stub that was generated by Bundler.
|
Looks like your app's ./bin/rails is a stub that was generated by Bundler.
|
||||||
|
|
||||||
In Rails 4, your app's bin/ directory contains executables that are versioned
|
In Rails #{Rails::VERSION::MAJOR}, your app's bin/ directory contains executables that are versioned
|
||||||
like any other source code, rather than stubs that are generated on demand.
|
like any other source code, rather than stubs that are generated on demand.
|
||||||
|
|
||||||
Here's how to upgrade:
|
Here's how to upgrade:
|
||||||
|
|
Loading…
Reference in a new issue