--- bin/jruby.sh.orig	2012-09-07 14:22:01.000000000 +0900
+++ bin/jruby.sh	2012-09-08 01:10:44.000000000 +0900
@@ -33,7 +33,7 @@
   ls=`ls -ld "$PRG"`
   link=`expr "$ls" : '.*-> \(.*\)$'`
   if expr "$link" : '.*/.*' > /dev/null; then
-    if expr "$link" : '/' > /dev/null; then
+    if expr "$link" : '\/' > /dev/null; then
       PRG="$link"
     else
       PRG="`dirname ${PRG}`/${link}"