1. 15
  1.  

  2. 6

    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/

    1. 2

      This is helpful, thank you for the links!

    2. 3

      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?

      1. 2

        Likely an oversight of the authors. There’s no reason to include maintenance-related files with the gems.