Subject: Remove explicit use of rubygems
Description:  Supported version of Ruby in Jessie+ are higher that 1.9
 and they all automatically load rubygems
Author: Cédric Boutillier <boutil@debian.org>
Last-Update: 2014-01-16

--- a/tools/logolIndex.rb
+++ b/tools/logolIndex.rb
@@ -1,5 +1,4 @@
 #!/usr/bin/env ruby
-require 'rubygems'
 require 'optparse'
 require 'logger'
 require 'cassiopee-mt'
--- a/tools/logolSearch.rb
+++ b/tools/logolSearch.rb
@@ -22,9 +22,9 @@
 DIR=File.expand_path(File.dirname(__FILE__))
 
 if muteOnly.to_i == 1
-  cmd = "ruby -rubygems "+DIR+"/logolIndex.rb --search "+sequence+".index --min "+minStart+" --max "+maxStart+" --pattern "+motifFileName+" --error "+nbError+" --hamming"
+  cmd = "ruby "+DIR+"/logolIndex.rb --search "+sequence+".index --min "+minStart+" --max "+maxStart+" --pattern "+motifFileName+" --error "+nbError+" --hamming"
 else
-  cmd = "ruby -rubygems "+DIR+"/logolIndex.rb --search "+sequence+".index --min "+minStart+" --max "+maxStart+" --pattern "+motifFileName+" --error "+nbError
+  cmd = "ruby "+DIR+"/logolIndex.rb --search "+sequence+".index --min "+minStart+" --max "+maxStart+" --pattern "+motifFileName+" --error "+nbError
 end
 
 Open3.popen3(cmd) do |stdin,stdout,stderr, wait_thr|
