Re factor the "gem-cd" command.
Re factor the "gem-cd" command.

- Add a argument check, so the command doesn't blow up.
- Simplify the code.

caporta/pry,geoffreylitt/pry,geoffreylitt/pry,tdg5/pry,jasonm23/pry,scalixte-mdsol/pry,85x14/pry,scalixte-mdsol/pry,nju520/pry,raeno/pry,icebreaker/pry,tdg5/pry,bronzdoc/pry,jasnow/pry,ooohiroyukiooo/pry,shockone/pry,shockone/pry,nju520/pry,nju520/pry,richo/pry,gfvcastro/pry,caporta/pry,ngpestelos/pry,sideci-sample/sideci-sample-pry,pvdb/pry,printercu/pry,josue804/debunker,shockone/pry,josue804/debunker,raeno/pry,sferik/pry,jasnow/pry,bronzdoc/pry,85x14/pry,icebreaker/pry,tdg5/pry,jasonm23/pry,sferik/pry,gfvcastro/pry,85x14/pry,scalixte-mdsol/pry,deivid-rodriguez/pry,jasnow/pry,ngpestelos/pry,jasonm23/pry,pvdb/pry,ooohiroyukiooo/pry,ooohiroyukiooo/pry,caporta/pry,raeno/pry,printercu/pry