Rewrite meta package manager in Ruby