From 1e975348f7151a6d25fe9a7f51c3589685bdca43 Mon Sep 17 00:00:00 2001
From: Antonio Terceiro <terceiro@softwarelivre.org>
Date: Tue, 17 Nov 2009 22:53:21 -0300
Subject: [PATCH] Removing shebangs from examples.

Since these files aren't executable, I assume that these scripts are
intended to be run with `ruby scriptname`, so there is no need to
include a shebang. And also these specific shebang wouldn't work
is some (most?) places, where ruby is not in /usr/local/bin.
---
 examples/constitute.rb        |    1 -
 examples/crop_with_gravity.rb |    2 --
 examples/demo.rb              |    1 -
 3 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/examples/constitute.rb b/examples/constitute.rb
index 96f5ba7..fd048a3 100644
--- a/examples/constitute.rb
+++ b/examples/constitute.rb
@@ -1,4 +1,3 @@
-#! /usr/local/bin/ruby -w
 require 'RMagick'
 
 f = Magick::Image.read("../doc/ex/images/Flower_Hat.jpg").first
diff --git a/examples/crop_with_gravity.rb b/examples/crop_with_gravity.rb
index c57f8ca..b114b40 100644
--- a/examples/crop_with_gravity.rb
+++ b/examples/crop_with_gravity.rb
@@ -1,5 +1,3 @@
-#! /usr/local/bin/ruby -w
-
 #=======================================================#
 # Thanks to Robert Wagner for the idea of allowing a    #
 # GravityType instead of the x- and y-offset arguments! #
diff --git a/examples/demo.rb b/examples/demo.rb
index 92aba6a..f091de0 100644
--- a/examples/demo.rb
+++ b/examples/demo.rb
@@ -1,4 +1,3 @@
-#!/usr/local/bin/ruby -w
 #
 # Simple demo program for RMagick
 #
-- 
1.6.5.2

