lib/procemon/function/require.rb in procemon-0.0.6 vs lib/procemon/function/require.rb in procemon-0.0.7

- old
+ new

@@ -70,10 +70,10 @@ alias :require_folder :mount_libs # Offline repo activate def mount_modules(target_folder= File.join(Dir.pwd,"{module,modules}","{gem,gems}") ) Dir.glob(File.join(target_folder,"**","lib")).select{|f| File.directory?(f)}.each do |one_path| - $LOAD_PATH << one_path + $LOAD_PATH.unshift one_path end end # #Return File_name:File_path def get_files(folder) \ No newline at end of file