Skip to content

Instantly share code, notes, and snippets.

@s2k
Created March 6, 2012 08:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save s2k/1984945 to your computer and use it in GitHub Desktop.
Save s2k/1984945 to your computer and use it in GitHub Desktop.
Requiring 'rbconfig' doesn't seem to create a constant CONFIG (Windows)
C:\>irb
irb(main):001:0> CONFIG
NameError: uninitialized constant Object::CONFIG
from (irb):1
from C:/Ruby192/bin/irb:12:in `<main>'
irb(main):002:0> require 'rbconfig'
=> true
irb(main):003:0> CONFIG
NameError: uninitialized constant Object::CONFIG
from (irb):3
from C:/Ruby192/bin/irb:12:in `<main>'
# It doesn't seem to be the "require 'rbconfig'" that creates the CONFIG constant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment