Skip to content

Instantly share code, notes, and snippets.

@s2k
Created March 6, 2012 08:37
Show Gist options
  • Select an option

  • Save s2k/1984945 to your computer and use it in GitHub Desktop.

Select an option

Save s2k/1984945 to your computer and use it in GitHub Desktop.

Revisions

  1. s2k created this gist Mar 6, 2012.
    13 changes: 13 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    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