ironruby / ironruby

Microsoft's Ruby language compiler that is built on top of the Dynamic Language Runtime.

Home | Edit | New

Getting the sources

The main IronRuby source GIT repo is at http://github.com/ironruby/ironruby/

Downloading the sources

You can download a zipped copy of the latest IronRuby sources here

Installing GIT

The following links include resources for installing and using GIT:

Creating a local GIT repository

You will first need to fork the IronRuby project. Creating a fork is recommended as it will allow you to contribute patches back easily. Click the “Fork” button on http://github.com/ironruby/ironruby/tree/master. This should create your personal fork, with a website like http://github.com/janedoe/ironruby/tree/master (where janedoe is your GIT username).

You can now use the git command-line client with many Linux distributions, Mac OS, Cygwin, and Windows (msysgit) to get the sources onto your local computer using the following commands:


git config —global branch.autosetupmerge true
git config —global user.name “Jane Doe”
git config —global user.email janedoe@example.com

git clone git@github.com:janedoe/ironruby.git
cd ironruby
git remote add irmain git://github.com/ironruby/ironruby.git
git pull irmain master

At a later date, to get the latest updates from the IronRuby project, run the following command in the ironruby directory created above:

git pull irmain master

If there is a merge conflict, edit the unmerged files to remove the conflict markers, and then run the following command:

git commit -a

Working without a fork

You can skip creating a fork if you only want to browse the sources. In that case, you can clone the project directly as such:

git clone git://github.com/ironruby/ironruby.git
git pull

For more information there is an excellent tutorial on getting started with git here

Last edited by shri, Tue Sep 29 23:41:15 -0700 2009
Home | Edit | New
Versions: