Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #13 from cthiel/master

fix rails_upgrade for rails 3.1
  • Loading branch information...
commit 21a1ea70b455378a8338854ff177bc7bd3693216 2 parents 795ef87 + ab5cad0
@radar radar authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/tasks/rails_upgrade_tasks.rake
View
6 lib/tasks/rails_upgrade_tasks.rake
@@ -39,9 +39,9 @@ namespace :rails do
puts new_config
end
- CLEAR = "\e[0m"
- CYAN = "\e[36m"
- WHITE = "\e[37m"
+ CLEAR = "\e[0m" unless defined? CLEAR
+ CYAN = "\e[36m" unless defined? CYAN
+ WHITE = "\e[37m" unless defined? WHITE
desc "Backs up your likely modified files so you can run the Rails 3 generator on your app with little risk"
task :backup do
Please sign in to comment.
Something went wrong with that request. Please try again.