-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to run without powershell after installation? #22
Comments
Hi @dig12345 Thanks for reporting. In fact, we can run
Sorry I don't know what does the log mean. But I think you should know that, after installing the If you already finish the process above, and still get the error message, please tell me what your Windows's version is. I only test it on Windows 10 and 11, I don't know if Windows 7 will work. |
I discovered that the error was coming from an old ruby I had previously installed. I've removed that and it looks better. Now my question is did you manually add it to the path? I can only run it by specifying the whole path: 'C:\ruby\3.2.2-1\bin\ruby.exe' under cmd. I can add that folder to the path but I will have to change it for every version? |
You don't need to add every version to Just be sure to include these two paths at the front to your
In fact, all my CMD.exe are run from a PowerShell session, and since my PowerShell has already defined the rbenv's related path (See the README, it's auto added by |
Ok I solved this by adding the following 2 things to the path: |
I wonder if it would be possible to have the installer add these vars automatically? |
Sounds reasonable, I'll add it with some other updates when I have time. |
Is it possible to run this ruby without powershell after installation. I was able to install under powershell but would like to be able to launch ruby from cmd.exe terminals etc. If I try to run ruby.exe from cmd terminal I get:
The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.
Thanks
The text was updated successfully, but these errors were encountered: