1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
Description: have proper shebangs in example
Author: Cédric Boutillier <boutil@debian.org>
Last-Update: 2014-01-15
Forwarded: no
--- a/examples/constitute.rb
+++ b/examples/constitute.rb
@@ -1,4 +1,4 @@
-#! /usr/local/bin/ruby -w
+#! /usr/bin/env ruby
require 'RMagick'
f = Magick::Image.read(File.join(File.dirname(__FILE__), "../doc/ex/images/Flower_Hat.jpg")).first
--- a/examples/crop_with_gravity.rb
+++ b/examples/crop_with_gravity.rb
@@ -1,4 +1,4 @@
-#! /usr/local/bin/ruby -w
+#! /usr/bin/env ruby
#=======================================================#
# Thanks to Robert Wagner for the idea of allowing a #
--- a/examples/demo.rb
+++ b/examples/demo.rb
@@ -1,4 +1,4 @@
-#!/usr/local/bin/ruby -w
+#!/usr/bin/env ruby
#
# Simple demo program for RMagick
#
|