Renamed project to ruby-proxifier and renamed gem to proxifier.

This commit is contained in:
Samuel Kadolph committed 2011-07-19 16:11:35 -04:00
1 parent 653e57fa03
commit dad9540ef4
21 files changed
+387 -343

No files matched your search

+3 -3
View File
@@ -1,8 +1,8 @@
#!/usr/bin/env ruby
executable = File.expand_path("../" + Gem.default_exec_format % "irb", Gem.ruby)
full_gem_path = Gem.loaded_specs["sockets"].full_gem_path
load_paths = Gem.loaded_specs["sockets"].require_paths.map { |p| "-I#{File.join(full_gem_path, p)}" }
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, "-rsockets/env", *ARGV)
exec(executable, *load_paths, "-rproxifier/env", *ARGV)