fix ruby env, and add grep alias