Archive: installing ruby gem


installing ruby gem
I'm using:

nsExec::ExecToLog '"$INSTDIR\runtime\ruby\bin\gem.bat" install --ignore-dependencies --no-rdoc --no-ri rails -v=2.3.8'


And its generating:

could not find a valid gem '-v=2.3.8'


When I run the command outside installer, it works as supposed.

Any help?

Thanks,
Telmo

No hint? Test I can make?

Anything would be helpful.

Thanks


Try using SetOutPath to change set the working folder? It looks like the problem lies within gem.bat. No idea what it does or how it works, and that's not really an NSIS problem...