1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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

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: