From f3f2e0b00d8b422fd5921fb709ac7a9570ad2a6a Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Sun, 13 Sep 2009 12:24:50 -0500 Subject: Move AS vendor support into bundler. Run `rake bundle` before running tests. --- activesupport/Rakefile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'activesupport/Rakefile') diff --git a/activesupport/Rakefile b/activesupport/Rakefile index 91c874d729..ecf8b52fc5 100644 --- a/activesupport/Rakefile +++ b/activesupport/Rakefile @@ -28,6 +28,16 @@ task :isolated_test do end or raise "Failures" end +task :bundle do + puts "Checking if the bundled testing requirements are up to date..." + result = system "gem bundle" + unless result + puts "The gem bundler is not installed. Installing." + system "gem install bundler" + system "gem bundle" + end +end + # Create compressed packages dist_dirs = [ "lib", "test"] -- cgit v1.2.3