$NetBSD: patch-aa,v 1.1.1.1 2009/03/29 23:35:55 emil_s Exp $

# Need rubygems to locate ruby-ncurses

--- tpp.rb.orig	2007-04-23 10:12:21.000000000 +0100
+++ tpp.rb
@@ -2,6 +2,8 @@
 
 version_number = "1.3.1"
 
+require 'rubygems' if RUBY_VERSION.sub(/\.\d+$/, "") < "1.9"
+
 # Loads the ncurses-ruby module and imports "Ncurses" into the
 # current namespace. It stops the program if loading the
 # ncurses-ruby module fails.
