RSpec for Ruby 1.9 Code Sprint
Organized by Igal Koshevoy
Time: Wednesday, January 9, 2008 from 6–8pm
Location: CubeSpace, CubeSpace, 622 SE Grand, Portland, OR
Agenda
Help the Ruby community: let’s get RSpec running on Ruby 1.9.
The RSpec behavior-driven development system is used by many Ruby projects, but it doesn’t currently work with Ruby 1.9. Until it’s ported, the projects that depend on it will have a hard time converting to the new Ruby.
Let’s do something about this at the Code Sprint. We’ll huddle around notebooks, write some workarounds, fix some bugs in RSpec, and identify bugs in Ruby itself. You do NOT need to be a Ruby or RSpec guru to contribute, although a general understanding of Ruby and testing frameworks will help. You do NOT need to bring a computer to participate, although it would help because we’ll need to look at code.
If you bring a computer, please set it up ahead of time so you can hit the ground running when you get to the event:
1. Install Ruby 1.9: ftp://ftp.ruby-lang.org/pub/ruby/1.9/
2. Checkout RSpec: svn://rubyforge.org/var/svn/rspec/trunk
3. Review the RSpec checkout’s “rspec/README” file and install its gems into Ruby 1.9 — note that rcov, heckle and hpricot do not work with Ruby 1.9 yet, so don’t install them.
4. Read my ticket and apply the patch (see “attachments” on the right of that screen): http://rspec.lighthouseapp.com/projects/5645/tickets/221-rspec-for-ruby-1-9-patches-set-1
5. In your SVN checkout’s “rspec” directory, run the following to execute RSpec’s specs, note that some will fail: rake NO_RCOV=true NO_HPRICOT=true NO_HECKLE=true
See you at the Code Sprint.
-igal
PS: Code Sprint is a regular meeting and is not Ruby or RSpec specific. It’s open to other languages and projects, so if you want to work on something else, there’s plenty of other interesting things for you to participate in.