add shared to rubylib