Replace `in Rails 4` with `in Rails %version%` in deprecation message

This commit is contained in:
Kir Shatrov 2015-03-29 23:10:48 +03:00
parent 445c12f7df
commit 9a3ba6cd8b
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
require 'pathname'
require 'rails/version'
module Rails
module AppRailsLoader
@ -9,7 +10,7 @@ module Rails
BUNDLER_WARNING = <<EOS
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.
Here's how to upgrade: