I had Ruby 1.9.2 installed on my computer in C:\program files x86 folder. I installed RailsInstaller which put Ruby 1.9.3 in C:\RailsInstaller. I uninstalled 1.9.2 using Control Panel.
When I run commands in cmd.exe, ruby 1.9.3 is applied, everything works fine. However, when I run commands in MINGW32, Ruby 1.9.2 is applied and I get errors. “C:/Program: bad interpreter: No such file or directory”
However, if I do ruby -v in MINGW32, It says I’m using Ruby 1.9.3
How do I make MINGW32 use the Ruby version installed with RailsInstaller?
my .bashrc file only has this line:
alias subl=”/c/Program\ Files/Sublime\ Text\ 2/sublime_text.exe
That alias setup also does not work.
Using Windows 8 Pro.
export PATH=".:/usr/local/bin:/mingw/bin:/bin:$PATH"export PATH=".:/usr/local/bin:/mingw/bin:/bin:/c/RailsInstaller:$PATH