gem-src
gem-src copied to clipboard
Overwrite ~/.rbenv/.git/config after cloning repos
Probably the cause is as follows.
-
rev-parse --is-inside-work-treereturntruein subdirectoires of rbenv.- https://github.com/amatsuda/gem-src/blob/v0.9.0/lib/rubygems_plugin.rb#L45
-
remote_add_src_and_originadd 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