Commit a15e99d2 authored by mattn's avatar mattn

add_dependency doesn't work

parent 5161909c
......@@ -306,7 +306,7 @@ module MRuby
g.dependencies.each do |dep|
unless gem_table.key? dep[:gem]
if dep[:default]; default_gems << dep
elsif File.exist? "#{root}/mrbgems/#{dep[:gem]}" # check core
elsif File.exist? "#{MRUBY_ROOT}/mrbgems/#{dep[:gem]}" # check core
default_gems << { :gem => dep[:gem], :default => { :core => dep[:gem] } }
else # fallback to mgem-list
default_gems << { :gem => dep[:gem], :default => { :mgem => dep[:gem] } }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment