What issues does RubyInstaller 2.4.1-1 solve?

RubyInstaller 2.4.1-1 is finally released
14 June 2017   2821

The RubyInstaller project provides a self-contained Windows-based installer that contains a Ruby language execution environment, a baseline set of required RubyGems and extensions.

Now Ruby Installer is based on MSYS2 toolchain, and the build scripts were fully rewritten. Also, the GitHub repository has changed - it is now called RubyInstaller2.

Ruby

A dynamic, open source programming language with a focus on simplicity and productivity

rubyinstallerRubyInstaller webpage

RubyInstaller2 provides great changes in addition to newer Ruby version. Main change - DevKit is now longer available. Now RubyInstaller uses the MSYS2 for compilation of C-based gems.

The following notable changes are for the transition from RubyInstaller1 to RubyInstaller2

Added

  • Provides ridk tool for easy MSYS2 installation/usage and system version information.
  • RubyInstaller2 bundles its own SSL/TLS CA list derived from the current Mozilla CA list into <installpath>/ssl/. See SSL-README.
  • Create a default .irbrc file for tab completition and history in irb.
  • Ability to add and use rubyinstaller-build.gem for customized Ruby-Applications. Documentation coming soon...
  • Run CI tests on AppVeyor for each git push to repository.
  • Build and deploy rubyinstaller.exe and 7z packages per AppVeyor and GitHub releases.
  • Allow MSYS2 to be shipped together with Ruby, when installed side by side or within the ruby directory. Refer to the FAQ.
  • Add an installer option to set RUBYOPT=-Eutf-8, which sets Encoding.default_external to UTF-8.

Changed

  • Built with MINGW GCC-6.3 from the MSYS2 repository.
  • Updated to Ruby-2.4.1.
  • Updated bundled libraries/DLLs.
  • RubyInstaller2 uses a separate DLL directory to avoid conflicting DLLs in the PATH.
  • RubyInstaller2 uses a DLL loading mechanism which ignores the PATH environment variable for DLL lookups, but provides a API for DLL directory-addition.
  • Use pure HTML for Ruby Core + stdlib documentation instead of CHM files.
  • Add Ruby to the PATH and have .rb + .rbw file association by default.
  • New versioning scheme: rubyinstaller-<rubyver>-<pkgrel>-<arch>.exe with pkgrel counting from 1 per rubyver.

Removed

  • No more DevKit, but integrates with MSYS2 libraries and toolchain.

RubyInstaller for Windows is a great solution for those, who would like to try Ruby but don't want to leave Windows. It helps to popularize the language and bring new coders to it.
 

Dmitry Karpunin
Chief Front-End Developer at Evrone
 

RubyInstaller2 will be the starting pad for Ruby versions 2.4.x and upper. Ruby versions under 2.4 are based on RubyInstaller1 which is still looking for a maintainer.

Note that many big binary gems are not yet available for RubyInstaller-2.4. Try to use

gem install --platform ruby <gemname>

to enhance installation of the source gem. MSYS2 and MINGW tools are needed to be installed for this operation, for example per ridk install.

Ruby\RoR News Digest 3 - 9.08

This week's freshest news, updates and guides from the Ruby and Rails programming
09 August 2019   636

Greetings! I hope your week went great! Here's new Ruby and Ruby on Rails news digest.

As always, we have prepared some great material for you. In this issue, you will learn, for example, how to migrate your Docker\Kubernetes Ruby app today, how to use Ruby unique method to remove duplicates, watch video on how to remove conditionals with Ruby's Array wrap method and many other things.

Guides

  • Don’t change the signature of Sidekiq jobs running in production

Author brings a lot of arguments to the statement, given in the header.

  • Fullstaq Ruby: First impressions, and how to migrate your Docker/Kubernetes Ruby apps today

Short, but interesting tutorial, which covers one of the aspects of Fullstaq Ruby.

  • How to Use The Ruby Uniq Method To Remove Duplicates

 Using uniq with a block provides even more power; great guide for the beginners.

Videos

  • Removing conditionals with Ruby's Array wrap method

  • Dev Quick Tips - Using Ruby's Reduce method to create a Hash of "Banana Bunch" Arrays

Article

  • Tales of the Ruby Grimoire - Part One - The Grimoire

As author of this programming fairytale explains, this is the first of many tales of the legendary Ruby Grimoire, a great and terrible book of Ruby dark magics

  • Introducing the ‘aws-rails-provisioner’ gem developer preview

This gem is designed to help you define and deploy containerized Rails apps on AWS Fargate

Updates

  • Jekyll 4.0.0.pre.beta1 Released 

Pre beta1 of new major version of the solution, that allows to transform text in static websites and blogs

  • Ciao: An HTTP Monitoring Tool, Built on Rails 

Webapp that checks HTTP endpoints and can send notifications when something bad happens

  • Hightop: A Shortcut for Group Count Queries

Adds a top method to Enumberable so works with both plain old arrays or ActiveRecord.

Podcast

  • RR 424: Documenting Your Code

David Kumira (Screencaster of Drifting Ruby, Panelist on Ruby Rogues), Nate Hopkins (CodeFund) and Andrew Mason (Full stack Ruby on Rails developer) talks why documenting your Ruby (and not only Ruby) code is valuable.