Permalink
Browse files

Allow groups to be loaded again if they been cleared

Closes #932
  • Loading branch information...
1 parent b3ffd2a commit c3b93d3df67c0d08a8013befca5ebf6d7b293205 @indirect indirect committed Jan 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/bundler.rb
View
2 lib/bundler.rb
@@ -102,7 +102,7 @@ def setup(*groups)
# Figure out which groups haven't been loaded yet
unloaded = groups - (@completed_groups || [])
# Record groups that are now loaded
- @completed_groups = groups | (@completed_groups || [])
+ @completed_groups = groups
# Load any groups that are not yet loaded
unloaded.any? ? load.setup(*unloaded) : load
end

0 comments on commit c3b93d3

Please sign in to comment.