class Bundler::Command

Public Instance Methods

exec(command_name, args) click to toggle source
# File lib/bundler/command.rb, line 8
def exec(command_name, args)
  gem_paths_make_file = (Bundler::SharedHelpers.root + '.bundle' + 'gem_paths.make')
  puts "Updating #{gem_paths_make_file} ..."
  FileUtils.mkdir_p gem_paths_make_file.dirname unless File.directory?(gem_paths_make_file.dirname)
  File.write(gem_paths_make_file, GemPaths::List.to_make.join("\n") + "\n")
end