Notices: This section not yet converted to new layout. Download stats are rolling back out.

This is not the latest version of Ruby available.

Ruby

2.3.3

Package test results are passing.

This package was approved as a trusted package on 4/25/2017.

Ruby is a dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write.

This package provides a self-contained Windows-based installer that includes the Ruby language, an execution environment, important documentation, and more.

Package Parameters

  • /InstallDir - Ruby installation directory, by default c:\tools\RubyXY where XY are major and minor version parts.
  • /NoPath - Do not add ruby bin folder to machine PATH.

To install Ruby, run the following command from the command line or from PowerShell:

C:\> choco install ruby --version 2.3.3

To upgrade Ruby, run the following command from the command line or from PowerShell:

C:\> choco upgrade ruby --version 2.3.3

Files

Hide
  • legal\LICENSE.txt Show
    Copyright (c) 2007-2014, RubyInstaller Team
    All rights reserved.
    
    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions are met:
    
      * Redistributions of source code must retain the above copyright
        notice, this list of conditions and the following disclaimer.
      * Redistributions in binary form must reproduce the above copyright
        notice, this list of conditions and the following disclaimer in the
        documentation and/or other materials provided with the distribution.
      * Neither the name of the RubyInstaller Team nor the names of its
        contributors may be used to endorse or promote products derived
        from this software without specific prior written permission.
    
    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
    ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
    WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
    DISCLAIMED. IN NO EVENT SHALL THE RUBYINSTALLER TEAM BE LIABLE FOR ANY
    DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
    (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
    LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
    ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
    SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    
  • legal\VERIFICATION.txt Show
    VERIFICATION
    
    Verification is intended to assist the Chocolatey moderators and community
    in verifying that this package's contents are trustworthy.
    
    Package can be verified like this:
    
    1. Go to
    
       x32: https://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.3.3.exe
       x64: https://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.3.3-x64.exe
    
       to download the installer.
    
    2. You can use one of the following methods to obtain the SHA256 checksum:
       - Use powershell function 'Get-FileHash'
       - Use Chocolatey utility 'checksum.exe'
    
       checksum32: 43110F9BCD8A067D69409507CAD6A43F1FCF05E8BD64D096DD9DF47475DE50F3
       checksum64: 3D0A4AD06C5503E1CB88827443593969E689AC96B5161140B08F0BECB7B792CF
    
    Using AU:
    
       Get-RemoteChecksum https://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.3.3-x64.exe
    
    File 'license.txt' is obtained from:
       https://raw.githubusercontent.com/oneclick/rubyinstaller/master/LICENSE.txt
    
  • tools\chocolateyInstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    
    $toolsDir = Split-Path $MyInvocation.MyCommand.Definition
    $rubyDir =  'ruby' + ($Env:ChocolateyPackageVersion -replace '\.').Substring(0,2)
    
    $pp = Get-PackageParameters
    $installDir = if ($pp.InstallDir) { $pp.InstallDir } else { Get-ToolsLocation }
    $installDir = Join-Path $installDir $rubyDir
    Write-Host "Ruby is going to be installed in '$installDir'"
    
    $packageArgs = @{
      packageName    = 'ruby'
      fileType       = 'exe'
      file           = gi "$toolsDir\*_x32.exe"
      file64         = gi "$toolsDir\*_x64.exe"
      silentArgs     = '/verysilent /dir="{0}" /tasks="assocfiles,modpath"' -f $installDir
      validExitCodes = @(0)
      softwareName   = 'ruby *'
    }
    Install-ChocolateyInstallPackage @packageArgs
    rm $toolsDir\*.exe -ea 0
    
    if (!$pp.NoPath) { Install-ChocolateyPath (Join-Path $installDir 'bin') Machine }
    
  • tools\rubyinstaller-2.3.3-x64_x64.exe Show
    md5: B2688631F3EAC70DC45A1735BA8EF748 | sha1: 83AE5E6282A2B7E21BB61C5B4D1B184C33EDBD2A | sha256: 3D0A4AD06C5503E1CB88827443593969E689AC96B5161140B08F0BECB7B792CF | sha512: FBB0E670FA7998BCC8A0776C7755D59AF924CB9AAFE06A333F93EAABB1D8BBCF99ACCAA82AE9CED01A1489025CE44ADC125590578C79ECB1CA1B91E1F1F81540
  • tools\rubyinstaller-2.3.3_x32.exe Show
    md5: 0447F419345BCAD7E34DBCA8D42B09D0 | sha1: C2AB4E83DFCB1949AF8C5C94379DA389CE7B520A | sha256: 43110F9BCD8A067D69409507CAD6A43F1FCF05E8BD64D096DD9DF47475DE50F3 | sha512: C2ED432C8D54E243D44D262D13B3BAA1304903EAA6D5D364654632414F02AE76858A4DA308992AB49DBD31621CD9824E5A24B5C48204C99E0F3380BF934DD5B2

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Dependencies

Package Maintainer(s)

Software Author(s)

  • Yukihiro Matsumoto

Tags

Release Notes

https://www.ruby-lang.org/en/downloads/releases/

Version History

Version Downloads Last updated Status
Ruby 2.5.1.2 15423 Monday, June 25, 2018 approved
Ruby 2.5.1.1 14973 Friday, March 30, 2018 approved
Ruby 2.5.0.2 6990 Wednesday, February 28, 2018 approved
Ruby 2.5.0.1 16708 Tuesday, December 26, 2017 approved
Ruby 2.4.3.1 5793 Wednesday, December 20, 2017 approved
Ruby 2.4.2.2 22492 Tuesday, September 19, 2017 approved
Ruby 2.4.1.2 16725 Wednesday, July 5, 2017 approved
Ruby 2.4.1.1 10711 Friday, May 26, 2017 approved
Ruby 2.3.3 34254 Tuesday, April 25, 2017 approved
Show More

Discussion for the Ruby Package

Ground rules:

  • This discussion is only about Ruby and the Ruby package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Ruby, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok