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

Version Path
td-0.10.99 dist/resources/pkg/td
td-0.10.98 dist/resources/pkg/td
td-0.10.97 dist/resources/pkg/td
td-0.10.96 dist/resources/pkg/td
td-0.10.95 dist/resources/pkg/td
td-0.10.94 dist/resources/pkg/td
td-0.10.93 dist/resources/pkg/td
td-0.10.92 dist/resources/pkg/td
td-0.10.91 dist/resources/pkg/td
td-0.10.90 dist/resources/pkg/td
td-0.10.89 dist/resources/pkg/td
td-0.10.88 dist/resources/pkg/td
td-0.10.87 dist/resources/pkg/td
td-0.10.86 dist/resources/pkg/td
td-0.10.85 dist/resources/pkg/td
td-0.10.84 dist/resources/pkg/td
td-0.10.83 dist/resources/pkg/td
td-0.10.82 dist/resources/pkg/td
td-0.10.81 dist/resources/pkg/td
td-0.10.79 dist/resources/pkg/td