Archive for the ‘ruby’ Category

Rails 3 Online Conference Word Cloud

I used Wordle to create a word cloud from the chat transcript of the Exploring Rails 3 online conference.

Installing Rails 3 Beta with RVM and Ruby 1.8.7

Jeremy McAnally posted some great instructions on installing Rails 3 beta. When I tried to install Rails 3 it complained that my Ruby version needed to be at least 1.8.7. Fair enough, I only had 1.8.6, and it was about time I upgraded.

Getting Mugged by Nokogiri

Once you’ve gotten started with Nokogiri, you’ll expect everything to be as easy as the beginning, and then–BAM!–you’ll get sucker-punched.

Getting Started with Nokogiri

Nokogiri is a Ruby document parser that was released in October 2008. It’s great for reading, searching, editing, and otherwise mucking around with HTML (and XML).

New Release of Alphabet Clock

I’ve made some improvements to Alphabet Clock, most notably the inclusion of dates and developer libraries.  Read the full story on Alphabet Clock’s blog.

Backing Up Your Data with Astrails-Safe

Astrails-safe is a ruby gem, so you can install it on your web server like so:

sudo gem install astrails-safe

Using Amazon S3 from the Command Line with s3sync

s3sync comes with two utilities: s3sync.rb, which can backup a directory to S3 rsync-style, and s3cmd.rb, which gives you a command-line interface to S3. We’re actually not going to use s3sync.rb to backup our files (in the next blog post I’ll show you how to use astrails-safe instead). However, we will be using the s3cmd.rb utility now in order to interact with S3 from the command line.