Simplify Ruby path stuff.