Archive: Ruby gems


Ruby gems
Hi All,

I am trying to build an installer which internally installs Ruby I have following queries

1. How to install ruby in silent mode
2. How to install ruby gems after installing ruby

Thanks in advance,
-Akshay


IIRC, Ruby installer is also NSIS, so simply pass /S on the command line. As for gems, you'd have to check with Ruby docs there.


Thanks Kichik,

Ruby installer works in silent mode ..
About gem installation ..
I tried following,

ExecWait "ThirdPartyPackages\rubygems-0.9.4\setup.rb"

but it did not work , also I tried using 'ExecShell', but while doing this my installer did not wait until gem installation finish.

Can you provide any inputs on this ?


Also,
I want to install some particular gems e.g. collections-0.1.1.gem the regular process to install this gem is
gem install <gemname.gem>
I tried this using execwait but it did not work
Please help me ..