From 21ce3fb0263ac79013517bf1d8d7d2d00e4df2ee Mon Sep 17 00:00:00 2001 From: ser1zw Date: Thu, 30 Dec 2010 03:45:44 +0900 Subject: [PATCH] Remove unnecesary "gem" calls in examples --- examples/convexhull.rb | 2 +- examples/face_detect.rb | 1 - examples/houghcircle.rb | 1 - examples/inpaint.rb | 1 - examples/paint.rb | 1 - examples/snake.rb | 1 - 6 files changed, 1 insertion(+), 6 deletions(-) diff --git a/examples/convexhull.rb b/examples/convexhull.rb index 23d9afa..b02a3d1 100755 --- a/examples/convexhull.rb +++ b/examples/convexhull.rb @@ -1,6 +1,6 @@ #!/usr/bin/env ruby # convexhull.rb -gem "opencv" +require "rubygems" require "opencv" require "pp" include OpenCV diff --git a/examples/face_detect.rb b/examples/face_detect.rb index defe1dd..2770db3 100755 --- a/examples/face_detect.rb +++ b/examples/face_detect.rb @@ -1,7 +1,6 @@ #!/usr/bin/env ruby # face_detect.rb require "rubygems" -gem "opencv" require "opencv" include OpenCV diff --git a/examples/houghcircle.rb b/examples/houghcircle.rb index c228a4e..db522c7 100755 --- a/examples/houghcircle.rb +++ b/examples/houghcircle.rb @@ -1,7 +1,6 @@ #!/usr/bin/env ruby # houghcircle.rb require "rubygems" -gem "opencv" require "opencv" include OpenCV diff --git a/examples/inpaint.rb b/examples/inpaint.rb index d0979ac..ddd95ce 100755 --- a/examples/inpaint.rb +++ b/examples/inpaint.rb @@ -1,7 +1,6 @@ #!/usr/bin/env ruby # inpaint.rb require "rubygems" -gem "opencv" require "opencv" include OpenCV diff --git a/examples/paint.rb b/examples/paint.rb index 8260205..91cd28d 100755 --- a/examples/paint.rb +++ b/examples/paint.rb @@ -1,7 +1,6 @@ #!/usr/bin/env ruby # paint.rb require "rubygems" -gem "opencv" require "opencv" include OpenCV diff --git a/examples/snake.rb b/examples/snake.rb index 4c35776..0064670 100755 --- a/examples/snake.rb +++ b/examples/snake.rb @@ -1,7 +1,6 @@ #!/usr/bin/env ruby # snake.rb require "rubygems" -gem "opencv" require "opencv" include OpenCV