diff options
author | Matt Jones <al2o3cr@gmail.com> | 2008-10-26 02:25:52 -0400 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-11-01 17:35:56 +0100 |
commit | 01433af6a5dd5bcd71a70574e7d0b356ba7b0246 (patch) | |
tree | f76c17d1d3ceef844b2a5b53221a29ca00ab18aa /railties/lib/tasks | |
parent | 62ffc6e4db1eecfe5c5a5f7471a9c39d665ada56 (diff) | |
download | rails-01433af6a5dd5bcd71a70574e7d0b356ba7b0246.tar.gz rails-01433af6a5dd5bcd71a70574e7d0b356ba7b0246.tar.bz2 rails-01433af6a5dd5bcd71a70574e7d0b356ba7b0246.zip |
Make refresh_specs more resilient. Always add vendor/gems to gem search path. Use Gem.clear_paths to ensure we get a current searcher.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
Diffstat (limited to 'railties/lib/tasks')
-rw-r--r-- | railties/lib/tasks/gems.rake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/lib/tasks/gems.rake b/railties/lib/tasks/gems.rake index e2cb4b9577..754e3ba5c9 100644 --- a/railties/lib/tasks/gems.rake +++ b/railties/lib/tasks/gems.rake @@ -6,10 +6,11 @@ task :gems => 'gems:base' do puts puts "I = Installed" puts "F = Frozen" + puts "R = Framework (loaded before rails starts)" end def print_gem_status(gem, indent=1) - code = gem.loaded? ? (gem.frozen? ? "F" : "I") : " " + code = gem.loaded? ? (gem.frozen? ? (gem.framework_gem? ? "R" : "F") : "I") : " " puts " "*(indent-1)+" - [#{code}] #{gem.name} #{gem.requirement.to_s}" gem.dependencies.each { |g| print_gem_status(g, indent+1)} if gem.loaded? end |