[ditz-talk] [PATCH] Use /usr/bin/env ruby instead of /usr/bin/ruby1.8

Thomas Nichols nichols7 at googlemail.com
Mon Nov 10 12:40:29 EST 2008


The following changes since commit 6f2756fbce3662e41a1e4c57dcb99b56b8b076ec:
  Thomas Nichols (1):
        Merge branch 'master' of git://gitorious.org/ditz/mainline

are available in the git repository at:

  git://gitorious.org/ditz/thomasns-clone.git master

Thomas Nichols (1):
      Use /usr/bin/env/ruby instead of an OS-specific binary name.

 bin/ditz |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


=========================================================================================

>From 06c4845d479d4296865d95ad8a103d102e628e9a Mon Sep 17 00:00:00 2001
From: Thomas Nichols <thomas at nexus10.com>
Date: Mon, 10 Nov 2008 17:14:08 +0000
Subject: [PATCH] Use /usr/bin/env/ruby instead of an OS-specific binary
name.
 Gentoo has /usr/bin/ruby18 but not /usr/bin/ruby1.8 .

---
 bin/ditz |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bin/ditz b/bin/ditz
index cf4bd15..0c1a8dc 100755
--- a/bin/ditz
+++ b/bin/ditz
@@ -1,4 +1,4 @@
-#!/usr/bin/ruby1.8
+#!/usr/bin/env ruby

 $LOAD_PATH.unshift(File.expand_path("#{File.dirname($0)}/../lib"))

--
1.6.0.2




More information about the ditz-talk mailing list