Ruby 获取所有可用的 DBI 数据库驱动 2015/10/25 37437 清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>> require 'dbi' DBI.available_drivers.each do |driver| puts "Driver: " + driver DBI.data_sources(driver).each do |dsn| puts " Datasource: " + dsn end end