lib/AppConfig.rb in taskjuggler-0.0.5 vs lib/AppConfig.rb in taskjuggler-0.0.6

- old
+ new

@@ -109,10 +109,12 @@ rubyLibDir = RbConfig::CONFIG['rubylibdir'] rubyBaseDir, versionDir = rubyLibDir.scan(/(.*\/)(.*)/)[0] dirs = [] if ENV['TASKJUGGLER_DATA_PATH'] - dirs << ENV['TASKJUGGLER_DATA_PATH'] + "/#{baseDir}/" + ENV['TASKJUGGLER_DATA_PATH'].split(':').each do |path| + dirs << path + "/#{baseDir}/" + end end # This hopefully works for all setups. Otherwise we have to add more # alternative pathes. # This one is for RPM based distros like Novell dirs << rubyBaseDir + "gems/" + versionDir + '/gems/' \