Sha256: dc146062c2d44e16c955087cdabe6e0c6828dae41f97f4090eedbe1a2327439e
Contents?: true
Size: 677 Bytes
Versions: 23
Compression:
Stored size: 677 Bytes
Contents
#!/usr/local/td/ruby/bin/ruby # -*- coding: utf-8 -*- # avoid conflicts with rvm ENV.delete 'GEM_HOME' ENV.delete 'GEM_PATH' # attempt to load rubygems begin require "rubygems" rescue LoadError end # resolve bin path, ignoring symlinks require "pathname" here = File.dirname(Pathname.new(__FILE__).realpath) # add locally installed gems to libpath gem_dir = File.expand_path("../vendor/gems", here) Dir["#{gem_dir}/**/lib"].each do |libdir| $:.unshift libdir end # inject any code in ~/.td/updated/vendor/gems over top require 'td/updater' TreasureData::Updater.inject_libpath # start up the CLI require "td/command/runner" TreasureData::Command::Runner.new.run ARGV
Version data entries
23 entries across 23 versions & 1 rubygems