fix command for users with multiple rails versions

For cases where users have multiple rails versions `rails _3.2.16_` select the desired one.