Actually this command would be more useful: rpm -q --provides --whatprovides 'rubygem(ruby:2.1.0:bundler)'