diff --git a/examples/convexhull.rb b/examples/convexhull.rb index 23d9afa9..b02a3d16 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 defe1dd6..2770db38 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 c228a4e0..db522c73 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 d0979ac4..ddd95ce1 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 82602051..91cd28da 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 4c357768..0064670b 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