What issues does RubyInstaller 2.4.1-1 solve?

RubyInstaller 2.4.1-1 is finally released
14 June 2017   1753

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.

RubyMine 2018.2 to be Released

Great news for Ruby developers - new version of popular IDE available now
27 July 2018   194

Major summer update of the integrated development environment RubyMine from JetBrains under the number 2018.2 released. Among the innovations - improving the work with the code, support for new version managers, re-testing only for failed tests and much more.

Code analysis

The new version of IDE has received an improved type inference that allows to better read the types of elements in blocks, arrays and hashes. This feature improves code autocompletion and navigation throughout the project:

Element CompletionElement Completion

In addition, RubyMine now correctly recognizes models using polymorphic associations, and offers them full support for "smart" functions.

Version Managers

The updated development environment now supports chruby and asdf. Moreover, now all version managers are available in WSL, Docker, SSH and other remote connections.

Testing

RubyMine 2018.2 allows you to retest only those tests that have not been tested. According to the developers, this frees the user from manually viewing each failed check. The new function also works with the rake test and rake spec presets:

Rerun Failed Tests
Rerun Failed Tests

YAML

In this update, developers paid attention to the YAML data serialization format. Now its code can be formatted directly in the IDE and use all the functions of autocomplete and navigation by code. Moreover, the new version of RubyMine provides automatic filling of YAML data structures that have JSON Schema files, and the ability to copy / paste the key path to the value in .yml files.

Git

Support for version control in RubyMine 2018.2 has received several new features:

  • files with a merge conflict are now grouped in a separate node;
  • a new action Browse Repository at Revision allows you to examine the state of the repository after each revision;
  • It was possible to skip the Push action during the Commit and Push command or use it only for protected branches;
  • you can connect an unlimited number of accounts to GitHub and select the main one for each project.

Other improvements

In addition to general performance improvements, the new version of IDE brought new icons, a dark theme for MacOS, support for the Touch Bar, improved support for JS, TypeScript and CoffeeScript, which you can see in the overview of the WebStorm 2018.2 IDE update, and connect the debugger to remote processes without having to reboot .