Generalize installer task to using CWD if Rails not present