If you’re using vim, tpope have some excellent plug-ins, especially:
https://github.com/tpope/gem-ctags
With a couple of other gems,it allows seamless “go to definition” for methods that originate from gems. Very valuable when trying to reason about code and dependencies.
https://chodounsky.com/2016/12/09/using-tags-to-browse-ruby-and-gem-source-with-vim/
This is helpful, thank you for the links!
I’ve noticed a fair amount of gems have hidden files/directories (.github/, .travis.yaml) all bundled up.
Is there any particular reason these files aren’t excluded from gems, or are people just not aware of it?
Likely an oversight of the authors. There’s no reason to include maintenance-related files with the gems.
If you’re using vim, tpope have some excellent plug-ins, especially:
https://github.com/tpope/gem-ctags
With a couple of other gems,it allows seamless “go to definition” for methods that originate from gems. Very valuable when trying to reason about code and dependencies.
https://chodounsky.com/2016/12/09/using-tags-to-browse-ruby-and-gem-source-with-vim/
This is helpful, thank you for the links!
I’ve noticed a fair amount of gems have hidden files/directories (.github/, .travis.yaml) all bundled up.
Is there any particular reason these files aren’t excluded from gems, or are people just not aware of it?
Likely an oversight of the authors. There’s no reason to include maintenance-related files with the gems.