From: Joel Pearson Date: 2013-01-11T23:54:02+09:00 Subject: Re: How Ruby environment varibles work in realtime program? Oops, forgot the dollar signs. FYI that's a single line of code, it gets put onto 2 lines by a line character limit on the forum. [$DLN_LIBRARY_PATH, $HOME, $LOGDIR, $RUBYOPT, $RUBYSHELL].each {|var| puts var } When I run that in IRB they all come out as nil, presumably because in that environment they aren't set. -- Posted via http://www.ruby-forum.com/.