Skip to content

Commit

Permalink
fix for ironruby, thanks @kiliman
Browse files Browse the repository at this point in the history
  • Loading branch information
drusellers committed Aug 25, 2010
1 parent e0cae90 commit 721117c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/nu/loader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,11 @@ def gemspec
end

def gem_available?
Gem.available? @gem_name, @version
if @version.nil?
Gem.available? @gem_name
else
Gem.available? @gem_name, @version
end
end

def copy_source
Expand Down

0 comments on commit 721117c

Please sign in to comment.