aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2013-03-27 20:24:04 -0700
committerAndre Arko <andre@arko.net>2013-03-27 20:24:04 -0700
commit99e1a4da99a374d21539013c34e7101298617ff9 (patch)
tree76652e88d59fb7224fa1b6db87e7663fd0340484 /railties
parentb77bbab25ed90ecccca1f5c23feb641ce1f9ef51 (diff)
downloadrails-99e1a4da99a374d21539013c34e7101298617ff9.tar.gz
rails-99e1a4da99a374d21539013c34e7101298617ff9.tar.bz2
rails-99e1a4da99a374d21539013c34e7101298617ff9.zip
need to delete bin, not binstub, update wording
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/app_rails_loader.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/railties/lib/rails/app_rails_loader.rb b/railties/lib/rails/app_rails_loader.rb
index 40524a8089..68ba4ecc63 100644
--- a/railties/lib/rails/app_rails_loader.rb
+++ b/railties/lib/rails/app_rails_loader.rb
@@ -24,10 +24,10 @@ module Rails
# this is a Bundler binstub, so we load the app ourselves
Object.const_set(:APP_PATH, File.expand_path('config/application', Dir.pwd))
require File.expand_path('../boot', APP_PATH)
- puts "Your bin/rails file has been overwritten by Bundler."
- puts "To update your bin/rails for Rails 4, please run: `bundle " \
- "config --delete binstubs`, then `rm -rf bin`, then `rake " \
- "rails:update:bin`, then add bin/ to your source control."
+ puts "Rails 4 no longer supports Bundler's --binstub option. You " \
+ "will need to disable it and update your bin/rails file.\n" \
+ "Please run: `bundle config --delete bin && rm -rf bin`, then " \
+ "`rake rails:update:bin` and add the resulting bin/ to git."
require 'rails/commands'
end
rescue SystemCallError