stdlib = [ 'abbrev', 'base64', 'benchmark', 'bigdecimal', 'cgi', 'cmath', 'coverage', 'csv', 'date', # 'dbm', 'gdbm', # TODO figure out a way to make this one load conditionally based on whether we're _not_ on jruby (since jruby doesn't have dbm) 'delegate', 'digest', 'drb', 'e2mmap', 'erb', 'etc', 'expect', 'fcntl', 'fiddle', 'fileutils', 'find', 'forwardable', 'getoptlong', 'io/console', 'io/nonblock', 'io/wait', 'ipaddr', 'irb', 'json', 'logger', 'mathn', 'matrix', 'mkmf', 'monitor', 'mutex_m', 'net/ftp', 'net/http', 'net/imap', 'net/pop', 'net/smtp', 'net/telnet', 'nkf', 'objspace', 'observer', 'open-uri', 'open3', 'openssl', 'optparse', 'ostruct', 'pathname', 'pp', 'prettyprint', 'prime', # prints all sorts of info to stderr, not easy to test right now # 'profile', 'profiler', 'pstore', 'psych', 'pty', 'rake', 'rdoc', 'readline', 'resolv', 'resolv-replace', 'ripper', 'rss', 'rubygems', 'scanf', 'sdbm', 'securerandom', 'set', 'shell', 'shellwords', 'singleton', 'socket', 'stringio', 'strscan', 'sync', 'syslog', 'tempfile', 'thread', 'thwait', 'time', 'timeout', 'tmpdir', 'tracer', 'tsort', 'un', 'uri', 'weakref', 'webrick', 'xmlrpc/client', 'xmlrpc/server', 'yaml', 'zlib' ] stdlib.each do |lib| #puts "Testing #{lib}" require lib end puts 'ok'