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,169
  • 2
  • 10
  • 16

1 Answers1

0

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


u1686_grawity
  • 426,297
  • 64
  • 894
  • 966
  • 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`. – u1686_grawity 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. – u1686_grawity Apr 11 '11 at 09:38