24 October 2007

Output the rspec report to an html file

rake spec

Create a spec.opts with:

--format
html:doc/rspec_report.html
--loadby
mtime


=> It will generate a rspec_report.html file in your doc folder!!!

The rspec documentation actually explains it but I missed an example to start using it ...

04 October 2007

Do not use an IDE to commit with svn your rails frozen gems!

After having lost a couple of hours trying to commit my rails/vendor both with netbeans and subeclipse, I think it's time to come back to old school command line: it's 10 times faster and do no take 100% CPU!!!

  • Go to the vendor folder
  • svn add rails
  • svn commit -m "Added vendor/rails version 1.2.3"
Done!