From 01c818e99f04f70462df68e6a217dfd280c37581 Mon Sep 17 00:00:00 2001 From: Matt Jones Date: Fri, 20 Feb 2009 14:16:07 -0600 Subject: break out of initializer early if gems aren't loaded [#1750 state:resolved] Signed-off-by: Joshua Peek --- railties/lib/tasks/gems.rake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'railties/lib/tasks') diff --git a/railties/lib/tasks/gems.rake b/railties/lib/tasks/gems.rake index e6731ab78c..d538e52ca6 100644 --- a/railties/lib/tasks/gems.rake +++ b/railties/lib/tasks/gems.rake @@ -17,13 +17,13 @@ end namespace :gems do task :base do - $rails_rake_task = true + $gems_rake_task = true Rake::Task[:environment].invoke end desc "Build any native extensions for unpacked gems" task :build do - $rails_rake_task = true + $gems_rake_task = true require 'rails/gem_builder' Dir[File.join(Rails::GemDependency.unpacked_path, '*')].each do |gem_dir| spec_file = File.join(gem_dir, '.specification') -- cgit v1.2.3