Building Rubinius

Have I mentioned how cool I think Rubinius is? It's totally awesome. Here's how I got it building on my Mac:

# Make sure ~/bin is in your path before doing this
cd ~/bin
wget http://www.opensource.apple.com/darwinsource/Current/ruby-22.2.2/ruby/mdoc2man.rb
chmod a+x mdoc2man.rb

# You'll need DarwinPorts/MacPorts installed

sudo port install subversion

sudo port install readline
sudo port install ruby

sudo port install pkgconfig
sudo port install glib2

# Now use Ruby Gems

# Had to download package manually for some reason
sudo gem install rake
sudo gem install RubyInline
sudo gem install rspec
sudo gem install ruby2ruby (needed by RSpec)

# Check out Rubinius
svn co http://code.fallingsnow.net/svn/rubinius/trunk

cd trunk

cd externals/syd-parser
rake package
cd pkg
sudo gem install sydparse-1.2.2.gem
cd ../../..

rake build:all

I'm pretty sure that's what I did anyways. =)

posted on: 02/06/2007 | path: /tech