summaryrefslogtreecommitdiff
path: root/scripts/context/ruby/pstopdf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/context/ruby/pstopdf.rb')
-rw-r--r--scripts/context/ruby/pstopdf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/context/ruby/pstopdf.rb b/scripts/context/ruby/pstopdf.rb
index 197f83961..a677cb617 100644
--- a/scripts/context/ruby/pstopdf.rb
+++ b/scripts/context/ruby/pstopdf.rb
@@ -12,7 +12,7 @@
banner = ['PsToPdf', 'version 2.0.1', '2002-2006', 'PRAGMA ADE/POD']
-$: << File.expand_path(File.dirname($0))
+$: << File.expand_path(File.dirname($0)) ; $: << File.join($:.last,'lib') ; $:.uniq!
# todo: paden/prefix in magick and inkscape
# todo: clean up method handling (pass strings, no numbers)