[ Content | Sidebar ]

Posts tagged Ruby

A Comforting Warning About Agile

“Beware of becoming an Agile zealout, because this can backfire and put people off. Don’t treat people who are not applying Agile as fools who just need to see the light! This is disrespectful, and people simply won’t listen to your rants.” -Rachel Davies in Agile Coaching1. Why is this comforting? Good communities self-monitor. Many [...]

Rake Tasks For NuGet

If you use NuGet, and only check-in your packages.config files to source control, then your source control repository will stay smaller, and checkout faster. Checking in binaries is usually a nice thing to avoid. However, you need new developers to be able to get those libraries locally easily, and to allow your build server (continuous [...]

Rake Breathing New Life to Building Old Projects

I’ve seen lots of examples of rake (the ruby make replacement) being used as a build tool in non-ruby projects. Many of these are still modern platforms, like .Net. For example, StructureMap builds with rake. But I’ve found that even on older platforms, the power of having a full programming language in your build tool [...]

Simple String Extension in Ruby

Based on a blog post from Steve Yegge… #ruby class String def endswith(arg) (self =~ /.*#{arg}$/) != nil end end #to test irb>”extension”.endswith(“ion”)

Mysql Gem on Leopard

After getting a whole lot of errors, I found the only way I could get this gem to work is the following: -Install x86 version of mysql -Install Gem like the following: sudo gem install mysql — –with-mysql-dir=/usr/local/mysql –with-mysql-config=/usr/local/mysql/bin/mysql_config –remote I hope that helps…