Permalink
Browse files

Fix instance variable not initialized warning.

  • Loading branch information...
1 parent b0e51cd commit 98b9851396e1d9d365c37e354abec378d11b8acf @miloops committed Jun 7, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/bundler.rb
View
@@ -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 98b9851

Please sign in to comment.