lib/upgrade.rb in dev_tasks-0.0.82 vs lib/upgrade.rb in dev_tasks-0.0.83
- old
+ new
@@ -20,10 +20,10 @@
if(Dir.exists?(rake_dir))
#newest_file_here=Dir.glob("**/*").max_by {|f| File.mtime(f)}
newest_file_rake_dir=nil
Dir.chdir(rake_dir) do
- newest_file_rake_dir=Dir.glob("**/*").max_by {|f| File.mtime(f)}
+ newest_file_rake_dir=rake_dir + '/' + Dir.glob("**/*").max_by {|f| File.mtime(f)}
end
self.add "<%Environment.rake('#{rake_dir}','default')%>" if(File.mtime(newest_file_rake_dir) > File.mtime(DEV_TASKS[:newest_artifact]))
end
}
\ No newline at end of file