Use exisiting script in rails project.
Posted on 2011-02-28
If I have a current script I use how can I intergrate that into and be scheduled by a rails project?
For instance I have a script, in ruby, that goes into a svn directory, does and svn up then builds the results and retrieves the svn version number and records if the build is successful or not.The svn project is a java project being built with ant.
I now have a framework to display a report about the build. Now I want the original script to be part of the rails project and to have the script called both automatically like cron and manually as well.
This is on OSX if it makes a difference.