I have a rake task that is used to set up a bunch of symlinks, but only if they don't already exist. Currently when you run the task, there is no output. So you don't know if anything happened. How can I provide output like Rails generators do by saying 'created' or 'skipped' for each of the symlinks? What gems or modules do i need to include to get this type of functionality?
# example
task :setup do
if !File.symlink?('/example/link')
%x{cd /example && ln -s /something link}
end
end