1
0
Fork 0
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:
Rafael Mendonça França 2015-03-29 20:22:26 -03:00
commit 6b53283051

View file

@ -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: