From: ajalkane Date: 2007-10-30T18:35:04+09:00 Subject: Re: Ruby 1.9 upgrade problems with existing Ruby web application On Oct 29, 11:36 pm, "S.D" wrote: > bash-/public$ ruby WM5.rb > /usr/lib/ruby/site_ruby/1.8/rubygems.rb:432:in `method_missing': > undefined method `exists?' for File:Class (NoMethodError) > ... > If this is common for Ruby 1.9 or if it is a result of some further > setup I need to take care of, please point it out to me. The errors all > point to rubygems, so I'd assume that others have encountered this > problem. Questions like: "Do gems need to be reinstalled, moved or just > pointed to some environment variable?" come to mind. > This same code runs without error(s) when I start it with Ruby 1.8.6. File.exists? has been deprecated in favor of File.exist?