In Files

  • bundler/capistrano.rb
  • bundler/cli.rb
  • bundler/cli/add.rb
  • bundler/cli/info.rb
  • bundler/cli/inject.rb
  • bundler/cli/lock.rb
  • bundler/cli/outdated.rb
  • bundler/cli/pristine.rb
  • bundler/cli/show.rb
  • bundler/compact_index_client/gem_parser.rb
  • bundler/current_ruby.rb
  • bundler/definition.rb
  • bundler/dep_proxy.rb
  • bundler/deprecate.rb
  • bundler/dsl.rb
  • bundler/endpoint_specification.rb
  • bundler/env.rb
  • bundler/feature_flag.rb
  • bundler/fetcher.rb
  • bundler/fetcher/compact_index.rb
  • bundler/friendly_errors.rb
  • bundler/gem_helper.rb
  • bundler/gem_helpers.rb
  • bundler/graph.rb
  • bundler/index.rb
  • bundler/injector.rb
  • bundler/installer.rb
  • bundler/installer/parallel_installer.rb
  • bundler/installer/standalone.rb
  • bundler/lazy_specification.rb
  • bundler/lockfile_parser.rb
  • bundler/match_platform.rb
  • bundler/remote_specification.rb
  • bundler/resolver.rb
  • bundler/resolver/spec_group.rb
  • bundler/ruby_version.rb
  • bundler/rubygems_ext.rb
  • bundler/rubygems_gem_installer.rb
  • bundler/rubygems_integration.rb
  • bundler/runtime.rb
  • bundler/setup.rb
  • bundler/shared_helpers.rb
  • bundler/source.rb
  • bundler/source/git.rb
  • bundler/source/git/git_proxy.rb
  • bundler/source/metadata.rb
  • bundler/source/path.rb
  • bundler/source/rubygems.rb
  • bundler/stub_specification.rb
  • bundler/vendored_persistent.rb
  • bundler/version_ranges.rb

Class/Module Index [+]

Quicksearch

Gem

Public Instance Methods

glob_files_in_dir(glob, base_path) click to toggle source
 
               # File bundler/rubygems_ext.rb, line 200
def glob_files_in_dir(glob, base_path)
  if RUBY_VERSION >= "2.5"
    Dir.glob(glob, :base => base_path).map! {|f| File.expand_path(f, base_path) }
  else
    Dir.glob(File.join(base_path.to_s.gsub(/[\[\]]/, '\\\&'), glob)).map! {|f| File.expand_path(f) }
  end
end