This forum is no longer active. Please post your questions to our new community site
can't use the new "powershell v2" of windows 7 to run rubystack ??!!
|
|
i just wan’t to use powershell over cmd in all my working with ruby from the command line ….. but it seems that i can’t and if any one could help me could help me to replace cmd.exe with powershell ….... |
|
|
Hi, I don’t know if it is possible, we haven’t tried Windows 7 yet. Cheers |
|
|
i think powershell is already coming with vista or at least with vista sp1 . |
|
|
We mostly (if not all) develop on Linux, and test in Virtual Machines. Currently I don’t recall having a Vista SP1, tough. Is there any user out there with Vista SP1 who is willing to give a helping hand? Thanks in advance. |
|
|
i saw powershell under windows update for Vista SP1. I can help you out. |
|
|
Hi, Great thanks, could you run the “use_ruby.bat” file from this new powershell console? If there is any issue, could you post the issues? Cheers. |
|
|
i’m waiting for you “MySchizoBuddy” , hope you find a way :) |
|
|
Ok as per this document, http://www.microsoft.com/technet/scriptcenter/topics/winpsh/manual/run.mspx Set-ExecutionPolicy Unrestricted Then change your scripts/setenv.bat file to this setx PATH "C:\RubyStack\git\bin;C:\RubyStack\sqlite;C:\RubyStack\imagemagick;C:\RubyStack\php;C:\RubyStack\mysql\bin;C:\RubyStack\subversion\bin;C:\RubyStack\ruby\bin;%PATH%" setx MAGICK_CODER_MODULE_PATH "C:\RubyStack\imagemagick\modules\coders" setx RUBYOPT "rubygems" make sure the folder names are correct. I installed it under C:\RubyStack then you have to give it a complete path regardless of where you are in the directory structure & "C:\RubyStack\use_ruby.bat" btw Powershell is available for Windows Xp sp2 as well |
|
|
Thanks for posting the solution :) |

