replace absolute_path with expand_path for ruby 1.8.7 compatibility