Skip to content
Browse files

avoid warning: instance variable @setup not initialized

Closes GH-372
  • Loading branch information...
1 parent 5cbf654 commit 9cd1836fa4b03dc692aa41e25ffd7673e211eb3f @lenary lenary committed with indirect Jun 13, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/bundler.rb
View
2 lib/bundler.rb
@@ -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

0 comments on commit 9cd1836

Please sign in to comment.
Something went wrong with that request. Please try again.