Use expand_path since absolute_path was introduced in 1.9.1.