Do not use the "rubygems" library.
Index: devel/bin/ti
===================================================================
--- devel.orig/bin/ti 2009-07-26 13:26:46.000000000 +0200
+++ devel/bin/ti 2009-07-26 13:26:58.000000000 +0200
@@ -5,7 +5,6 @@
# author : Scott Chacon (schacon@gmail.com)
#
-require 'rubygems'
require 'ticgit'
#require File.dirname(__FILE__) + '/../lib/ticgit'
TicGit::CLI.execute
Index: devel/lib/ticgit.rb
===================================================================
--- devel.orig/lib/ticgit.rb 2009-07-26 13:12:50.000000000 +0200
+++ devel/lib/ticgit.rb 2009-07-26 13:26:58.000000000 +0200
@@ -3,7 +3,6 @@
$:.unshift(File.dirname(__FILE__)) unless
$:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
-require 'rubygems'
# requires git >= 1.0.5
require 'git'
require 'ticgit/base'
@@ -25,4 +24,4 @@
def self.open(git_dir, options = {})
Base.new(git_dir, options)
end
-end
\ No newline at end of file
+end
Index: devel/bin/ticgitweb
===================================================================
--- devel.orig/bin/ticgitweb 2009-07-26 13:26:46.000000000 +0200
+++ devel/bin/ticgitweb 2009-07-26 13:26:58.000000000 +0200
@@ -8,7 +8,7 @@
# author : Scott Chacon (schacon@gmail.com)
#
-%w(rubygems sinatra git ticgit haml).each do |dependency|
+%w(sinatra git ticgit haml).each do |dependency|
begin
require dependency
rescue LoadError => e