Forum: Ruby delete folder when files does not exist

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
9aa1e92a0ebb17fdaad2fa39b4c52b8a?d=identicon&s=25 misiek (Guest)
on 2006-03-02 19:18
(Received via mailing list)
how to delete folder  only when files does not exis ?

Dir.delete "#{RAILS_ROOT}/public/images/#{}/#{}"
This topic is locked and can not be replied to.