Downloads:

25,100

Downloads of v 3.1.1.1:

743

Last Update:

19 Feb 2022

Package Maintainer(s):

Software Author(s):

  • Yukihiro Matsumoto

Tags:

ruby language programming development dynamic cross-platform foss portable

Ruby (Portable)

  • 1
  • 2
  • 3

3.1.1.1 | Updated: 19 Feb 2022

Downloads:

25,100

Downloads of v 3.1.1.1:

743

Maintainer(s):

Software Author(s):

  • Yukihiro Matsumoto

  • 1
  • 2
  • 3
Ruby (Portable) 3.1.1.1

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Resulted in Flagged as a Note:

At least one file within this package has greater than 0 detections, but less than 5

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

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

>

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

>

To uninstall Ruby (Portable), run the following command from the command line or from PowerShell:

>

Deployment Method:

📝 NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade ruby.portable -y --source="'INTERNAL REPO URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade ruby.portable -y --source="'INTERNAL REPO URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install ruby.portable
  win_chocolatey:
    name: ruby.portable
    version: '3.1.1.1'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'ruby.portable' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '3.1.1.1'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller ruby.portable
{
    Name     = "ruby.portable"
    Version  = "3.1.1.1"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'ruby.portable':
  ensure   => '3.1.1.1',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package is likely a meta/virtual (*) or an installer (*.install) or portable (*.portable) application package.

  • Meta/virtual (*) - has a dependency on the *.install or the *.portable package - it is provided for discoverability and for other packages to take a dependency on.
  • Portable (*.portable/*.commandline (deprecated naming convention)/*.tool (deprecated naming convention)) - usually zips or archives that require no administrative access to install.
  • Install (*.install/*.app (deprecated naming convention)) - uses native installers, usually requires administrative access to install.

Learn more about chocolatey's distinction of installed versus portable apps and/or learn about this kind of package.

This package was approved as a trusted package on 19 Feb 2022.

Description

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

Notes

  • To install ruby development kit ruby installer provides ridk command. It provides an easy way to install msys2 via ridk install 1, however, the installation is interactive. To accomplish unattended install, use msys2 package.

legal\LICENSE.txt
Copyright (c) 2007-2020, 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
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://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.1.1-1/rubyinstaller-3.1.1-1-x86.7z
   x64: https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.1.1-1/rubyinstaller-3.1.1-1-x64.7z

   to download the archives.

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: 360BC9910D5609476AE6ED48A1B11679B68C26360F7D1547A31533AD565F2BD9
   checksum64: 8635AA0CFFE3326A376A3E519B41373967268F5570A8DD7FBC6353904FF78BC5

Using AU:

   Get-RemoteChecksum https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.1.1-1/rubyinstaller-3.1.1-1-x64.7z

File 'license.txt' is obtained from:
   https://raw.githubusercontent.com/oneclick/rubyinstaller2/master/LICENSE.txt
tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'
$toolsPath = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

$packageArgs = @{
  File        = "$toolsPath\rubyinstaller-3.1.1-1-x86.7z"
  File64      = "$toolsPath\rubyinstaller-3.1.1-1-x64.7z"
  Destination = "$toolsDir\ruby"
  PackageName = $env:ChocolateyPackageName
}

Get-ChocolateyUnzip @packageArgs

Get-ChildItem $toolsPath\*.7z | ForEach-Object { Remove-Item $_ -ea 0 }
tools\rubyinstaller-3.1.1-1-x64.7z
md5: 8D8B7AF62F355784F54E99FBB7A207B4 | sha1: 02C1D6A56E6A16C5BF49EA23047DD5605A9EEA1B | sha256: 8635AA0CFFE3326A376A3E519B41373967268F5570A8DD7FBC6353904FF78BC5 | sha512: 67783A4F39BA219509B553A1C7C2A89EA2D6EAD3546C841D64DABF58EABD4CC660E873A2F69023568F5756E8EFA1C4E13C72B942679DCAB10FAF53113F25DE23
tools\rubyinstaller-3.1.1-1-x86.7z
md5: 628ACDB7F6A6196E33283CF2F0344801 | sha1: E44EC478EF7C87E9C47EDE50A290DA59DE2C4DBA | sha256: 360BC9910D5609476AE6ED48A1B11679B68C26360F7D1547A31533AD565F2BD9 | sha512: C752346F0CB01B07E3952D04CAA0CF95112B265CB6D922A8B1D714BC9A4725DD2B71853D90AFB394128D254DB8833692033D91AE0471BC35EBEC8DE7C6FCA701

Log in or click on link to see number of positives.

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.

Add to Builder Version Downloads Last Updated Status
Ruby (Portable) 3.1.0.1 36 Wednesday, February 16, 2022 Approved
Ruby (Portable) 3.0.4.1 8 Wednesday, April 20, 2022 Approved
Ruby (Portable) 3.0.3.1 15 Thursday, February 17, 2022 Approved
Ruby (Portable) 2.7.6.1 8 Wednesday, April 20, 2022 Approved
Ruby (Portable) 2.7.5.1 30 Friday, February 18, 2022 Approved
Ruby (Portable) 2.3.0 18662 Friday, May 6, 2016 Approved

This package has no dependencies.

Discussion for the Ruby (Portable) Package

Ground Rules:

  • This discussion is only about Ruby (Portable) and the Ruby (Portable) 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 (Portable), 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