From: Andrei Maxim Date: 2008-03-03T06:56:46+09:00 Subject: Re: How do I get the server name? Since ENV is a hash, why don't you open up irb and type ENV.each { |key, value| puts "#{lkey} - #{value}" } It's a bit quicker than expecting a reply on a mailing list. On Sun, Mar 2, 2008 at 11:49 PM, laredotornado@gmail.com wrote: > Hi, > > I'm using Ruby 1.8. How do I get my server name? I'm running Apache > 2 on Fedora Core 6 Linux. I tried "ENV["server_name"]", but got an > error. > > - Dave > > -- Andrei Maxim http://andreimaxim.ro