InfiniteRed

art.through(code)

Installing Ruby and Ruby On Rails from scratch on OS X using DarwinPorts / MacPorts

Ruby OS X graphic

A fresh install of Mac OS X to Ruby on Rails, the right way, in a 28 minute screencast.

Many tutorials skip the little steps, causing people to get stuck. This screen-cast starts with a fresh install of Mac OS X Tiger (10.4.8), then goes step by step through the process of setting up a complete development environment for Ruby and Ruby on Rails.

I show you how to setup the following:


...

Read entire article

Converting a black TextMate theme to white using a simple Ruby application

TextMate theme
Download Theme (once downloaded, simply double click on the file to install) I created the IR_Black theme, and some people asked for a white version of it. So instead of doing it manually I thought a quick Ruby script to make all the colors darker would work well.
...

Read entire article

A simple Ruby command-line application skeleton

To write a command-line application in Ruby is very simple, the following two-line application converts everything in the standard input to upper case and then outputs it:

#!/usr/bin/env ruby 
puts STDIN.read.upcase

Although complete, this is hardly a proper application, which should include options, arguments, help, input error trapping, etc. I've created a skeleton for such a command-line application.


...

Read entire article