diff options
author | Chris Griego <cgriego@gmail.com> | 2010-03-14 13:27:18 -0500 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-03-16 11:10:30 +0100 |
commit | 0f504a5646ba9eaf4c6a439075f0cf76e45257dc (patch) | |
tree | 937c160160197c5a733ae5addb6fc0cead05d69b | |
parent | b65b989725320dc9e424bab7536f062d0dc94b0f (diff) | |
download | rails-0f504a5646ba9eaf4c6a439075f0cf76e45257dc.tar.gz rails-0f504a5646ba9eaf4c6a439075f0cf76e45257dc.tar.bz2 rails-0f504a5646ba9eaf4c6a439075f0cf76e45257dc.zip |
Deprecated framework rake tasks should exit with non-zero exit code [#4177 status:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
-rw-r--r-- | railties/lib/rails/tasks/framework.rake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/lib/rails/tasks/framework.rake b/railties/lib/rails/tasks/framework.rake index dbe2ac54ed..1df0129060 100644 --- a/railties/lib/rails/tasks/framework.rake +++ b/railties/lib/rails/tasks/framework.rake @@ -2,18 +2,18 @@ namespace :rails do namespace :freeze do desc "The rails:freeze:gems is deprecated, please use bundle install instead" task :gems do - puts "The rails:freeze:gems is deprecated, please use bundle install instead" + abort "The rails:freeze:gems is deprecated, please use bundle install instead" end desc 'The freeze:edge command has been deprecated, specify the path setting in your app Gemfile instead and bundle install' task :edge do - puts 'The freeze:edge command has been deprecated, specify the path setting in your app Gemfile instead and bundle install' + abort 'The freeze:edge command has been deprecated, specify the path setting in your app Gemfile instead and bundle install' end end desc 'The unfreeze command has been deprecated, please use bundler commands instead' task :unfreeze do - puts 'The unfreeze command has been deprecated, please use bundler commands instead' + abort 'The unfreeze command has been deprecated, please use bundler commands instead' end desc "Update both configs, scripts and public/javascripts from Rails" |