Revert "Revert "Path cleanup""

This reverts commit e1feec1351bf69d6288c1e3183bd0f21901c12ee.
Added conditional rbenv setup.
Added edit command line using <Ctrl+E>