Intro to Ruby using Shoes
hope you had a restful holiday, and that you're able to stay out of the ice and cold. For this Tuesday's class, we'll be diving into ruby (sans rails this time), going over the basics, and having some fun with libraries.
The only requirement is to bring a computer that can run an interactive ruby session (irb). If you have the virtualbox from last time, this will work great.
Grab the ruby-lights project (or better yet, fork it on github, and use
git clone so you can pull+push to your own repository), and then if you're on osx or linux you can do
bash$ bundle install bash$ ruby ./lights.rb
If that doesn't work, or you're on windows, or you're impatient, you can open
lights.rb inside the downloaded Shoes app, just be sure to comment or delete the first line of the file that requires (Green Shoes)[https://github.com/ashbb/green_shoes].