Make tab more reliable for chruby-ish…

…environments. By running two tell do command statements instead of one,
we ensure that chruby (with autoenv) and similar environments are set
properly prior to running any commands.