Optimize loading of Ruby plugins