If you’re keeping your Rails application in a source code repository, Tobias Luetke has a script for retrieving the code, running its tests in a deployment directory and copying it to the target directory. All guided by a simple YAML configuration file at
To keep Hieraki fresh:
hieraki: server: linux get: svn export svn://myserver/hieraki/trunk directory: /var/www/applications/hieraki test: RAILS_ENV=production rake after_test: - chmod 777 log/ - chmod 666 log/* after_commit: - sudo /etc/init.d/apache reload
You can likewise checkout from RubyForge CVS with a hack like:
get: cvs -d:pserver:firstname.lastname@example.org:/var/cvs/bugtrack export -D now bugtrack; mv bugtrack
I wonder: can RubyGems be easily scripted to pull from CVS or Subversion? Better, I wonder if ViewCVS could be easily hacked to generate snapshot gems? Easily?