Skip to content
⌘ NSIS Forum Archive

installing ruby gem

3 posts

tcardoso#

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
MSG#
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...