gem-src icon indicating copy to clipboard operation
gem-src copied to clipboard

Gem.post_install { `git clone gem_source src` }

Results 4 gem-src issues
Sort by recently updated
recently updated
newest added

In my case, I am using ghq. gem-src many send requests to the hompage when execute `gem i bundler` but that is not url for git. It takes many time...

Probably the cause is as follows. 1. `rev-parse --is-inside-work-tree` return `true` in subdirectoires of rbenv. - https://github.com/amatsuda/gem-src/blob/v0.9.0/lib/rubygems_plugin.rb#L45 2. `remote_add_src_and_origin` add remotes to ~/.rbenv/.git/config when gem_dir not a repository. - https://github.com/amatsuda/gem-src/blob/v0.9.0/lib/rubygems_plugin.rb#L50

I think some repository is able to skip clone . how about do you think?

### Before this pull-req ![1__thanks_for_flying_vim__zsh_](https://cloud.githubusercontent.com/assets/8451/7340430/6c47a7fe-ecc8-11e4-8113-d2ca95df6f53.png) ### After merged ![1__thanks_for_flying_vim__zsh_](https://cloud.githubusercontent.com/assets/8451/7340437/9474faa6-ecc8-11e4-804a-c6789c82ce1d.png)