![]() ![]() I’m going to prepend the path to the IronRuby interpreter, which we’ll compile in the next step. On line 43, after :EnvDone, the script changes the path. It explains how the IronRuby sources are laid out. I highly recommend reading the rest of that wiki entry. Start in: c:\Development\IronRuby\Merlin\Main\Languages\Ruby Target: C:\Windows\System32\cmd.exe /k "c:\Development\IronRuby\Merlin\Main\Languages\Ruby\Scripts\Dev.bat" ![]() The values of the text fields should be like this: To do this, create a shortcut on the Desktop to cmd.exe (where C:\Development\ironruby is the root of your GIT repo) looking like CmdShortcut.png at. It is recommended to setup a shortcut to Dev.bat on the desktop that you can just click to quickly get the pre-configured environment. This batch file sets up the path, various environment variables, and aliases, which makes it easy to do builds and run tests. We recommend you start your developing by running C:\path\to\Merlin\Main\Languages\Ruby\Scripts\Dev.bat. This comes straight from the dev.bat entry in the IronRuby wiki on GitHub: Git pull 3 – Set Up IronRuby Dev Environment OR, if you're behind a corporate firewall… cd /C/Development Pop open a Git Bash console (Start > Programs > Git > Git Bash) and issue the following commands: cd /C/Development I prefer to do all my development work in C:\Development. At the time of this writing, I’m using 1.6.2.2-preview20090408 2 – Grab the IronRuby sources Head on over the the MSysGit page, grab the latest Git-1.6.x.y install, and run it. I know present to you the steps I took to get it working, from end to end (I’ll assume you have some version of Visual Studio 2008 with C#): 1 – Install MSysGit Well, this evening, I decided to delve into it once again, and I am now happy to report that it works! Well, works, as in runs the C# sample provided with the Cucumber gem. With an uncertain combination of IronRuby updates and Cucumber updates, it stopped working for me. ![]() I got it working once, briefly, using the directions on the Cucumber wiki at GitHub. Ever since I read about Cucumber, a user acceptance testing tool in Ruby, I’ve wanted to be able to use it, along with IronRuby for my. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |