Created
March 6, 2012 08:37
-
-
Save s2k/1984945 to your computer and use it in GitHub Desktop.
Requiring 'rbconfig' doesn't seem to create a constant CONFIG (Windows)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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