From 972607a07df6dc62c25ed6baf141f4793535ac45 Mon Sep 17 00:00:00 2001 From: Rene Saarsoo Date: Tue, 20 Sep 2011 15:21:21 +0300 Subject: [PATCH] Make bin/jsduck work as input file to ocra. With the require-rubygems section the file can be run from any directory as it will know from where to load the jsduck library files under Windows. --- bin/jsduck | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/jsduck b/bin/jsduck index 2f24bf31..8ba84e14 100755 --- a/bin/jsduck +++ b/bin/jsduck @@ -17,6 +17,7 @@ # For running when gem not installed $:.unshift File.dirname(File.dirname(__FILE__)) + "/lib" +require 'rubygems' require 'jsduck/app' require 'jsduck/options' -- GitLab