fog/fog — Issue #707: Cannot Destroy Local::File
Author: yfeldblum
Created: 2012-01-25 01:37:41+00:00
State: open

NoMethodError: undefined method `exists?' for Dir:Class
from /usr/lib/ruby/gems/1.8/gems/fog-1.1.2/lib/fog/local/models/storage/file.rb:53:in `destroy'
from /usr/lib/ruby/gems/1.8/gems/fog-1.1.2/lib/fog/local/models/storage/file.rb:43:in `times'
from /usr/lib/ruby/gems/1.8/gems/fog-1.1.2/lib/fog/local/models/storage/file.rb:43:in `destroy'

`Dir.exist?` and `Dir.exists?` are not present in ruby-1.8.7.