Wanted to take a peek and possibly contribute to the Rubinius project as it seems be the most exciting project for me after fancying Parrot and Perl6 for a while.

Documenting steps to make a freshly installed Ubuntu 7.1 to compile Rubinius.  More instructions are available this Rubinius development site.

Here are the steps I followed.

#install ruby and rake
sudo apt-get install ruby
sudo apt-get install rake
# Install git
sudo apt-get install git-core
#configure git
git config  --global user.name "Your Name"
git config  --global user.email "your@email"

#Download source code anonymously
git clone git://git.rubini.us/code
# Now the code is setup in the code/ directory
# Setup the development environment
#first comment out the a line from this file if you don't have the cd-rom using which Ubuntu is installed
sudo vi /etc/apt/sources.list
# Comment out deb cdrom line
#install gcc development environment
sudo apt-get install build-essential
#now we need zlib dev headers - dont know why this is not included in build-essential
sudo apt-get install zlib1g-dev

# now light at the end of tunnel
# cd into the code directory
cd code
rake build
# that should build Rubinius
# once build is complete, run
shotgun/rubinius -v

This command seems to bring irb like prompt unlike ruby command

Let the fun begin!



Advertisement