From 72d6231f194e6bac2bb593c6a85b902a5b1d1655 Mon Sep 17 00:00:00 2001 From: Terence Lee Date: Wed, 13 Jun 2012 03:02:32 +0200 Subject: [PATCH] update copy --- lib/language_pack/ruby.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/language_pack/ruby.rb b/lib/language_pack/ruby.rb index e746b57..7acd1fa 100644 --- a/lib/language_pack/ruby.rb +++ b/lib/language_pack/ruby.rb @@ -296,8 +296,10 @@ def install_libyaml(dir) # https://github.com/heroku/heroku-buildpack-ruby/issues/21 def remove_vendor_bundle if File.exists?("vendor/bundle") - topic "WARNING: Don't check in `vendor/bundle`. Use `bundle pack` instead." - puts "Removing `vendor/bundle`." + topic "WARNING: Removing `vendor/bundle`." + puts "Checking in `vendor/bundle` is not supported. Please remove this directory" + puts "and add it to your .gitignore. To vendor your gems with Bundler, use" + puts "`bundle pack` instead." FileUtils.rm_rf("vendor/bundle") end end