0

I'm trying to run ruby on a fresh windows server. Is there a way to do this with only SSH access?

Justin L.
  • 1,129
  • 2
  • 10
  • 16

1 Answers1

0

Download Ruby Installer, run the installer with /verysilent /norestart /dir=C:\Ruby


user1686
  • 385,146
  • 58
  • 807
  • 879
  • How do I download ruby installer from the command line? – Justin L. Jan 08 '11 at 02:32
  • @Justin: If you have SSH, chances are you can upload it from your own PC with SFTP (using WinSCP). Otherwise, there's a command-line `ftp` client, and PowerShell (comes with Server 2008) has `System.Net.WebClient` and `System.Net.HttpWebRequest`. – user1686 Jan 08 '11 at 12:12
  • you can use iexpore to download it via command line - iexplore.exe http://blah.com/filename.zip amongst other methods http://superuser.com/questions/59465/is-it-possible-to-download-using-the-windows-command-line – Journeyman Geek Apr 11 '11 at 01:49
  • @Journeyman: Internet Explorer requires a graphical session to work. SSH doesn't have that, at least not on Windows. – user1686 Apr 11 '11 at 09:38