aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/Rakefile
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-09-13 12:24:50 -0500
committerJoshua Peek <josh@joshpeek.com>2009-09-13 12:24:50 -0500
commitf3f2e0b00d8b422fd5921fb709ac7a9570ad2a6a (patch)
treeae71197fdcd8c87e784dd91e35aabcf13cc44407 /activesupport/Rakefile
parent3b325d624ccb5b390356d61a3ba72f09709066a4 (diff)
downloadrails-f3f2e0b00d8b422fd5921fb709ac7a9570ad2a6a.tar.gz
rails-f3f2e0b00d8b422fd5921fb709ac7a9570ad2a6a.tar.bz2
rails-f3f2e0b00d8b422fd5921fb709ac7a9570ad2a6a.zip
Move AS vendor support into bundler.
Run `rake bundle` before running tests.
Diffstat (limited to 'activesupport/Rakefile')
-rw-r--r--activesupport/Rakefile10
1 files changed, 10 insertions, 0 deletions
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"]