fix command for users with several rails versions

For cases where users have multiple rails versions `rails _3.2.16_` select the desired one.
Merge pull request #130 from amejiarosario/patch-1

fix command for users with multiple rails versions