I used the Windows Ruby Installer, and all I can do is run ruby from the normal command line with a bundled shortcut named "Command line with ruby".
Windows 7 Powershell is not bad as a replacement for bash, so I would like to be able to execute Ruby, irb, gem etc from it. At the very least executing scripts...
I've read that this is possible, how?
Is the directory that Windows Ruby Installer installed to (like C:\Ruby192\bin) on your path? I can't recall if it should add that automatically on install but I've not had any issues running irb or scripts from powershell. You can check if it's on your path by running the following from a powershell session:
$env:path
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With