container.rb 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. stdlib = [
  2. 'abbrev',
  3. 'base64',
  4. 'benchmark',
  5. 'bigdecimal',
  6. 'cgi',
  7. 'cmath',
  8. 'coverage',
  9. 'csv',
  10. 'date',
  11. # '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)
  12. 'delegate',
  13. 'digest',
  14. 'drb',
  15. 'e2mmap',
  16. 'erb',
  17. 'etc',
  18. 'expect',
  19. 'fcntl',
  20. 'fiddle',
  21. 'fileutils',
  22. 'find',
  23. 'forwardable',
  24. 'getoptlong',
  25. 'io/console',
  26. 'io/nonblock',
  27. 'io/wait',
  28. 'ipaddr',
  29. 'irb',
  30. 'json',
  31. 'logger',
  32. 'mathn',
  33. 'matrix',
  34. 'mkmf',
  35. 'monitor',
  36. 'mutex_m',
  37. 'net/ftp',
  38. 'net/http',
  39. 'net/imap',
  40. 'net/pop',
  41. 'net/smtp',
  42. 'net/telnet',
  43. 'nkf',
  44. 'objspace',
  45. 'observer',
  46. 'open-uri',
  47. 'open3',
  48. 'openssl',
  49. 'optparse',
  50. 'ostruct',
  51. 'pathname',
  52. 'pp',
  53. 'prettyprint',
  54. 'prime',
  55. # prints all sorts of info to stderr, not easy to test right now
  56. # 'profile',
  57. 'profiler',
  58. 'pstore',
  59. 'psych',
  60. 'pty',
  61. 'rake',
  62. 'rdoc',
  63. 'readline',
  64. 'resolv',
  65. 'resolv-replace',
  66. 'ripper',
  67. 'rss',
  68. 'rubygems',
  69. 'scanf',
  70. 'sdbm',
  71. 'securerandom',
  72. 'set',
  73. 'shell',
  74. 'shellwords',
  75. 'singleton',
  76. 'socket',
  77. 'stringio',
  78. 'strscan',
  79. 'sync',
  80. 'syslog',
  81. 'tempfile',
  82. 'thread',
  83. 'thwait',
  84. 'time',
  85. 'timeout',
  86. 'tmpdir',
  87. 'tracer',
  88. 'tsort',
  89. 'un',
  90. 'uri',
  91. 'weakref',
  92. 'webrick',
  93. 'xmlrpc/client',
  94. 'xmlrpc/server',
  95. 'yaml',
  96. 'zlib'
  97. ]
  98. stdlib.each do |lib|
  99. #puts "Testing #{lib}"
  100. require lib
  101. end
  102. puts 'ok'