Category Archives: Ruby

Isolating your Ruby gems to a local project folder with a sample Sinatra app

In my previous blog post I wrote about installing rbenv on OS X 10.9 (Mavericks) to manage multiple Ruby installations easily. Today, I’m going to go over how I setup an initial Sinatra application while keeping the installed gems in … Continue reading

Posted in Open Source, Ruby | Comments Off on Isolating your Ruby gems to a local project folder with a sample Sinatra app

Installing rbenv on OS X 10.9 (Mavericks) to manage multiple Ruby installations easily

I’m a big fan of pyenv so rbenv was a natural fit for the style of how I like to setup my development environments (on numerous computers). This allows me to easily switch between versions of Ruby depending on which … Continue reading

Posted in Open Source, Ruby | 1 Comment

Interacting with ActiveRecord through the Rails Console (irb) in Ununtu 10.10

Rails and Ruby have quickly grown in popularity over the past few years. I think a lot of Ruby’s growth no doubt can be attributed to Ruby on Rails. In this article I’m going to run over some of the … Continue reading

Posted in Rails, Ruby | Comments Off on Interacting with ActiveRecord through the Rails Console (irb) in Ununtu 10.10

Install Ruby 1.9.2 (from source) and Rails 3.0.1 on Ubuntu 10.10

Although I believe using RVM is a better way to install and manage Ruby on Ubuntu (see my article on how to do that), you can however just install Ruby from source code. Today I’ll go over the steps to … Continue reading

Posted in Open Source, Rails, Ruby, Ubuntu | 5 Comments

Getting Flash Builder 4 (Flex) talking to Ruby, Passenger, Apache 2 with Sinatra on Ubuntu 10.10

I’m going to build a very simple project that will allow a Flash Builder 4 project to talk to Sinatra. In the end you will have some simple starter code to call a Sinatra service, pass in a parameter as … Continue reading

Posted in ActionScript, Flex, Ruby, Sinatra, Ubuntu | Comments Off on Getting Flash Builder 4 (Flex) talking to Ruby, Passenger, Apache 2 with Sinatra on Ubuntu 10.10

Installing Ruby on Ubuntu 10.10 with RVM

RVM has quickly become one of the main ways to install Ruby. Even though the RVM documentation is very solid I’m going to walk through installing RVM and Ruby on a clean install of Ubuntu 10.10 (Desktop). Obviously if you … Continue reading

Posted in Open Source, Ruby, Ubuntu | 10 Comments

Building a socket server with EventMachine, Ruby, and Flash CS5

I recently began messing with EventMachine. On their GitHub page you can find some starter tutorials as well as instructions to get it installed. Today I’m going to build a simple socket server to allow Flash CS5 to communicate to … Continue reading

Posted in ActionScript, Flash, Ruby, Socket Server, Ubuntu | 3 Comments

Setting up MongoDB on Ubuntu 10.04 and trying it out with Ruby

MongoDB is a scalable, high-performance, open source, document-oriented database written in C++. In this article I’m going to setup MongoDB on Ubuntu 10.04 and try a Ruby script against it.

Posted in MongoDB, Open Source, Ruby, Ubuntu | Comments Off on Setting up MongoDB on Ubuntu 10.04 and trying it out with Ruby

Getting Sinatra, Apache 2, and Phusion Passenger working together on Ubuntu 10.04

Today I’m going to go over the steps you need to take to get a Sinatra web app working on Apache 2 with Phusion Passenger (mod_rails). If you haven’t done so already make sure to read my previous article on … Continue reading

Posted in Open Source, Ruby, Sinatra, Ubuntu | Comments Off on Getting Sinatra, Apache 2, and Phusion Passenger working together on Ubuntu 10.04

Book Review: Cloning Internet Applications with Ruby

Today I will be reviewing the recently published (August 2010) “Cloning Internet Applications with Ruby” written by Chang Sau Sheong and published by Packt Publishing.

Posted in Amazon Web Services, Open Source, Reviews, Ruby, Sinatra | Comments Off on Book Review: Cloning Internet Applications with Ruby