I'm trying to run the following script from a remote computer on a Linux computer with RVM:
plink.exe -pw root@< Linux ip> /root/script.sh
ERROR: Error installing /usr/local/rvm/gems/ruby-1.9.2-p290/cache/bundler-1.0.22.gem: bundler requires RubyGems version >= 1.3.6
script.sh is a script that runs ruby script.
I think that the problem is caused by some collusion with the RVM or bundler gems on the remote Linux.
Can someone advise?