Skip to content

Instantly share code, notes, and snippets.

@jonforums
Created September 3, 2010 21:19
Show Gist options
  • Save jonforums/564589 to your computer and use it in GitHub Desktop.
Save jonforums/564589 to your computer and use it in GitHub Desktop.
devkitvars for PowerShell
# convenience script residing in the DevKit root dir used for
# manually configuring a PowerShell environment to use the
# DevKit for compiling native Ruby extensions
echo "Adding DevKit to PATH..."
$devkit = [System.IO.Path]::GetDirectoryName($MyInvocation.MyCommand.Definition)
$env:path = "$devkit\bin;$devkit\mingw\bin;$env:path"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment