Rake & ruby: some basics to get you started

When developing using Ruby on Rails, you probably already used Rake. Rake is a simple ruby build program. Basically, rake offers somewhat of the same capabilities that make does. Using rails, you probably already used tasks like db:migrate, db:seed, etc In this post, I’ll try to cover the most used features of rake, or at … Continue reading Rake & ruby: some basics to get you started

Testing your ruby command-line tools

Creating a command-line app in ruby might be fun, being able to test them is just as important as testing any other web application. But you can do this with Aruba. Aruba is a Cucumber extension for testing command-line applications written in any language. Passing arguments, interacting with the file system, capturing exist codes en mimicking … Continue reading Testing your ruby command-line tools