Skip to content

Commit

Permalink
Fix instance variable not initialized warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
miloops committed Jun 7, 2010
1 parent b0e51cd commit 98b9851
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bundler.rb
Expand Up @@ -93,7 +93,7 @@ def bin_path
end

def setup(*groups)
return @setup if @setup
return @setup if defined?(@setup) && @setup

if groups.empty?
# Load all groups, but only once
Expand Down

0 comments on commit 98b9851

Please sign in to comment.