gem install fails when config doesn't have --user-install set
Merge pull request #1306 from ahsandar/master

gem install fails when config doesn't have --user-install set