A Couple Useful Powershell Commands for working with Ruby/IronRuby

Back to Listing

A Couple Useful Powershell Commands for working with Ruby/IronRuby


17 Jun, 2010


I use these two functions to quickly setup Powershell to execute Ruby code under either MRI or IronRuby easily. Simply add them to your Powershell profile.

function set-ironruby() {
$env:path = ";c:\ironruby\bin\;c:\ironruby\lib\ironruby\gems\1.8\bin\;" + $env:path }

function set-ruby() {
$env:path = ";c:\ruby\bin\;" + $env:path }

Then you can use it like so..

rubypsfunctions

Share this story

Bobby Johnson

About Author

I am a passionate engineer with an interest in shipping quality software, building strong collaborative teams and continuous improvement of my skills, team and the product.

comments powered by Disqus
Back to top