use File.expand_path instead of absolute_path (not available on ruby 1.8)