Sha256: c7e49702cafecb4a83856974fa7ab2cd1b545dcffa5e3261382600a81637a356

Contents?: true

Size: 357 Bytes

Versions: 7

Compression:

Stored size: 357 Bytes

Contents

#!/usr/bin/env ruby

executable = File.expand_path("../" + Gem.default_exec_format % "irb", Gem.ruby)
full_gem_path = Gem.loaded_specs["proxifier"].full_gem_path
load_paths = Gem.loaded_specs["proxifier"].require_paths.map { |p| "-I#{File.join(full_gem_path, p)}" }
# TODO: support argument switches

exec(executable, *load_paths, "-rproxifier/env", *ARGV)

Version data entries

7 entries across 7 versions & 3 rubygems

Version Path
proxifier-fork-1.1.0 bin/pirb
proxifier2-1.1.0 bin/pirb
proxifier-fork-1.0.4 bin/pirb
proxifier-1.0.3 bin/pirb
proxifier-1.0.2 bin/pirb
proxifier-1.0.1 bin/pirb
proxifier-1.0.0 bin/pirb