lib/require_reloader.rb
def local_gems
      Bundler.definition.specs.
        select{|s| s.source.is_a?(Bundler::Source::Path) }.
        delete_if{|s| s.source.is_a?(Bundler::Source::Git) && !s.source.send(:local?) }
    end
# returns only local gems, local git repo
returns only local gems, local git repo
returns only local gems local git repo
def local_gems
      Bundler.definition.specs.
        select{|s| s.source.is_a?(Bundler::Source::Path) }.
        delete_if{|s| s.source.is_a?(Bundler::Source::Git) && !s.source.send(:local?) }
    end
def local_gems Bundler . definition . specs . select { | s | s . source . is_a? ( Bundler :: Source :: Path ) } . delete_if { | s | s . source . is_a? ( Bundler :: Source :: Git ) && ! s . source . send ( :local? ) } end
returns only local gems, local git repo
returns only local gems local git repo