lib/advance.rb in advance-0.3.8 vs lib/advance.rb in advance-0.3.9

- old
+ new

@@ -295,11 +295,11 @@ raise error_msg end end def ensure_bin_on_path - advance_path = File.dirname(__FILE__) - add_dir_to_path(advance_path) + advance_bin_path = File.expand_path(File.join(File.dirname(__FILE__), "../bin")) + add_dir_to_path(advance_bin_path) caller_path = File.dirname(caller[0].split(/:/).first) add_dir_to_path(caller_path) end