Ruby

http://s.erious.ly

Posts tagged "Tutorials"

How to Play with Rails 3.1, CoffeeScript and All That Jazz Right Now

Maybe I'm weird (actually, there's no maybe about it) but when I first heard about Rails 3.1 getting CoffeeScript and Sass out of the box, I wanted to see how it worked and how smooth the process would be. So...

How To Get Rails 3 and RSpec 2 Running Specs Fast (From Scratch)

Rails 3 is great. RSpec 2 is great. And Ruby 1.9.2 is really great. Getting them all running together and quickly, however, isn't entirely straightforward. In this post I demonstrate how to get everything ticking over along...

How to Install Ruby 1.9.2 and Rails 3.0 on Ubuntu 10.10

For better or worse, Ubuntu has become one of the most popular Linux variants on which to deploy Ruby and Rails apps. It was used for 84% of the 2010 Rails Rumble projects, for example. Back in 2009, I wrote a guide to installing a Ruby 1.8 stack on Ubuntu 8.10 so it...

PeepCode Releases The “Meet Rails 3″ Screencast Series

meet-rails-3.png Ruby screencasting supremo Geoffrey Grosenbach has unveiled PeepCode's new Meet Rails 3 series. There are two parts so far, clocking in at 75 and 92 minutes respectively - they're $12 each or "free" if you have a PeepCode Unlimited subscription.

Rails for Zombies: An Online Rails Learning Environment

railszombies.pngRails for Zombies is an intriguing attempt to teach people how to use Ruby on Rails directly in the Web browser. It comes from Envy Labs (and specifically Gregg Pollack, once of RailsEnvy fame).

Writing Parsers in Ruby using Treetop

treetop.pngTreetop is one of the most underrated, yet powerful, Ruby libraries out there. If you want to write a parser, it kicks ass. The only problem is unless you're into reading up about and playing with parsers, it's not always obvious how to get going with...

How to Build a “Spy Camera” App for an Android Phone with Ruby and Sinatra

It's been a great year for Ruby on Android, but no one knows it. You can start writing Ruby apps for Android devices TODAY. You don't need to install any SDK, you don't need to install some giant Eclipse IDE, and you certainly don't need to write any Java.

Mike Leone

A Walkthrough of Ruby In The Web Browser using IronRuby and Silverlight

With Microsoft's IronRuby and Silverlight, Ruby can become a first-class citizen in the browser on Windows, Linux and OS X.. think <script type="text/ruby"> - yes, it's possible! This walkthrough will get you started with using Ruby in the browser for HTML and vector-graphics-based applications. IronRuby enables Web developers to use Ruby to write client-side browser...

EventMachine: Get Excited By Scalable Non-Blocking I/O

EventMachine is a simple(ish), fast, event-driven I/O library for Ruby. Its goal is to provide highly scalable I/O performance with an easy-to-use API wrapped around the nastiest parts of the process (since typical Ruby coding practices aren't particularly event-driven friendly). Aman Gupta has put together an awesome...

Building A Well Formed Number Handling Class From Scratch

Over on the Ruby Best Practices blog, somenums.pngRobert Klemme walks through the process of building a new numeric class from scratch in Ruby - taking into account all the gotchas and considerations that pop up along the way. Robert's task is harder and more involved...

How Ruby Manages Memory and Garbage Collection

garbage.jpgGarbage Collection and the Ruby Heap is a presentation given by Joe Damato and Aman Gupta at the recent LA Ruby Conference. You only get the slides for now (all 70 of them!), but they're very detailed and can almost work as a standalone concise e-book...

Deploy A Free, Ruby Powered Blog In 5 Minutes with Toto and Heroku

heroku-dog.gif Toto (GitHub repo) is a new lightweight Ruby and Rack-based blogging engine designed specifically for "hackers" by Alexis Sellier. Content is managed entirely through Git - so everything is version controlled - and articles are stored as text files with embedded YAML metadata. At only...