How to install Ruby 2.5?

thibaut.barrere's Avatar

thibaut.barrere

18 Jan, 2018 09:47 PM

Hello,

After a bit of debugging (using dir C:) I see that Ruby 2.5 is not pre-installed.

Are there plans to add it? Alternatively, is there a known recipe to install it myself as part of the build?

Thanks!

-- Thibaut

  1. Support Staff 1 Posted by Ilya Finkelshte... on 19 Jan, 2018 07:08 PM

    Ilya Finkelshteyn's Avatar

    Hi Thibaut,

    It will be on build workers with update we are currently finishing. Please watch https://www.appveyor.com/updates/ or subscribe to https://appveyor.statuspage.io to be notified when update it out. Should be after weekend.

    If you need this asap, here are script you can use at install stage:

    $version = "Ruby 2.5.0-1"
    $install_path = "C:\Ruby25"
    $download_url = "https://github.com/oneclick/rubyinstaller2/releases/download/rubyinstaller-2.5.0-1/rubyinstaller-2.5.0-1-x86.exe"
    $exePath = "$($env:TEMP)\rubyinstaller.exe"
    Write-Host "  Downloading $($version) from $($download_url)" -ForegroundColor Gray
    (New-Object Net.WebClient).DownloadFile($download_url, $exePath)
    Write-Host "Installing..." -ForegroundColor Gray
    cmd /c start /wait $exePath /verysilent /dir="$($install_path.replace('\', '/'))" /tasks="noassocfiles,nomodpath,noridkinstall"
    del $exePath
    Write-Host "Installed" -ForegroundColor Green
    

    replace first 3 lines if you need x64 version with:

    $version = "Ruby 2.5.0-1 (x64)"
    $install_path = "C:\Ruby25-x64"
    $download_url = "https://github.com/oneclick/rubyinstaller2/releases/download/rubyinstaller-2.5.0-1/rubyinstaller-2.5.0-1-x64.exe"
    

    Ilya.

  2. 2 Posted by thibaut.barrere on 19 Jan, 2018 08:26 PM

    thibaut.barrere's Avatar

    Great, thanks!

    Envoyé de mon iPhone

  3. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:26 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac