support mageia-style gettext package (rubygems)
[booh] / bin / booh
index 4843b9d..6a44ab7 100644 (file)
--- a/bin/booh
+++ b/bin/booh
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
+begin
+    require 'rubygems'
+rescue LoadError
+end
+
 require 'getoptlong'
 require 'tempfile'
 require 'thread'