Permalink
Browse files

bin/rudy fix for Ruby 1.9.2

  • Loading branch information...
1 parent 4427d4b commit 659da0fd711596b967e57fa61a872c56cba28260 @delano delano committed Feb 14, 2011
Showing with 5 additions and 2 deletions.
  1. +5 −2 bin/rudy
View
@@ -7,8 +7,11 @@
#
# See rudy -h for usage
#
-
-$:.unshift File.join(File.dirname(__FILE__), '..', 'lib') # Put our local lib in first place
+
+BASE_PATH = File.expand_path File.join(File.dirname(__FILE__), '..')
+lib_dir = File.join(BASE_PATH, 'lib')
+$:.unshift lib_dir
+
$:.unshift File.join(File.dirname(__FILE__), '..', '..', 'drydock', 'lib')
#$SAFE = 1 # require is unsafe in Ruby 1.9??

0 comments on commit 659da0f

Please sign in to comment.