# Git Push

**URL:** <https://www.ruby-forum.com/t/git-push/163197>\
**Category:** IronRuby\
**Created:** [March 18, 2009, 7:23am UTC](https://www.ruby-forum.com/t/git-push/163197 "2009-03-18T07:23:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![raker\_t](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecae2f/32.png) [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Post date:** [March 18, 2009, 7:23am UTC](https://www.ruby-forum.com/t/git-push/163197/1 "2009-03-18T07:23:20Z")

</div>

Today’s git push includes the last set of changes to make things easier  
for everyone developing from Git. It reintroduces MERLIN\_ROOT, but  
MERLIN\_ROOT now comes with benefits.

We recommend you start your developing by running  
C:\path\to\Merlin\Main\Languages\Ruby\Scripts\Dev.bat. This script sets  
MERLIN\_ROOT, based on its location in the tree and sets up a VS cmd  
prompt. It also sets the following items in your path:

- 

```
    Merlin\Main\Languages\Ruby\Scripts:

```

o Contains irtests.bat which starts up multiple command prompts with  
MSpec and other tests in parallel

- 

```
    Merlin\Main\Languages\Ruby\Scripts\bin:

```

o Contains the iscripts. Igem, irake, iirb, etc.

- 

```
    Merlin\External\Languages\IronRuby\mspec\mspec\bin

```

o Contains the mspec scripts: mspec, mspec-ci, mspec-run, mspec-tag

Next this script sets up ~/.mspecrc, which just loads  
Merlin\External\Languages\IronRuby\mspec\default.mspec to set IR as the  
default implementation, and creates the following targets:

- 

```
    :core

```

- 

```
    :lang

```

- 

```
    :lib

```

- 

```
    :cli

```

- 

```
    :interop

```

All of these can now be run via mspec ci -fs :core (for example), see  
RubySpec’s wiki at [http://rubyspec.org](http://rubyspec.org), or email me to learn more about  
how to run it.

This script also uses doskey to setup Merlin\Main\Scripts\Bat\Alias.txt  
which contains various aliases to make building and navigating the  
folder structure easier.

We hope these changes make things easier when working on IronRuby from  
the Git repository. I’m going to try to clean up my Powershell scripts  
to allow Powershell to be used with these changes too. Until then, you  
can run dev.bat, and then run powershell to get a Powershell prompt with  
all of the env setups in place. We would also love to have someone  
create a bash version of these scripts for those running in \*nix land 🙂

---

<div class="post-metadata">

**Author:** ![raker\_t](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecae2f/32.png) [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Post date:** [March 18, 2009, 8:42am UTC](https://www.ruby-forum.com/t/git-push/163197/2 "2009-03-18T08:42:56Z")

</div>

I have also updated the Github wiki with this information, and a  
detailed description of how to run the specs. The spec documentation can  
be found at [http://wiki.github.com/ironruby/ironruby/rubyspec](http://wiki.github.com/ironruby/ironruby/rubyspec)

JD

From: removed\_email\_address@domain.invalid  
[[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)] On Behalf Of Jim D.  
Sent: Tuesday, March 17, 2009 10:54 PM  
To: removed\_email\_address@domain.invalid  
Subject: [Ironruby-core] Git Push

Today’s git push includes the last set of changes to make things easier  
for everyone developing from Git. It reintroduces MERLIN\_ROOT, but  
MERLIN\_ROOT now comes with benefits.

We recommend you start your developing by running  
C:\path\to\Merlin\Main\Languages\Ruby\Scripts\Dev.bat. This script sets  
MERLIN\_ROOT, based on its location in the tree and sets up a VS cmd  
prompt. It also sets the following items in your path:

- 

```
    Merlin\Main\Languages\Ruby\Scripts:

```

o Contains irtests.bat which starts up multiple command prompts with  
MSpec and other tests in parallel

- 

```
    Merlin\Main\Languages\Ruby\Scripts\bin:

```

o Contains the iscripts. Igem, irake, iirb, etc.

- 

```
    Merlin\External\Languages\IronRuby\mspec\mspec\bin

```

o Contains the mspec scripts: mspec, mspec-ci, mspec-run, mspec-tag

Next this script sets up ~/.mspecrc, which just loads  
Merlin\External\Languages\IronRuby\mspec\default.mspec to set IR as the  
default implementation, and creates the following targets:

- 

```
    :core

```

- 

```
    :lang

```

- 

```
    :lib

```

- 

```
    :cli

```

- 

```
    :interop

```

All of these can now be run via mspec ci -fs :core (for example), see  
RubySpec’s wiki at [http://rubyspec.org](http://rubyspec.org), or email me to learn more about  
how to run it.

This script also uses doskey to setup Merlin\Main\Scripts\Bat\Alias.txt  
which contains various aliases to make building and navigating the  
folder structure easier.

We hope these changes make things easier when working on IronRuby from  
the Git repository. I’m going to try to clean up my Powershell scripts  
to allow Powershell to be used with these changes too. Until then, you  
can run dev.bat, and then run powershell to get a Powershell prompt with  
all of the env setups in place. We would also love to have someone  
create a bash version of these scripts for those running in \*nix land 🙂
