Tuesday, December 26, 2017

Ruby 2.5 now available on Bitnami

We are happy to announce the release of Ruby 2.5. The Bitnami Ruby Stack provides a complete, ready-to-run development environment for Ruby on Rails. This release comes with lots of new features and improvements.

Here are some highlights:
  • rescue/else/ensure are allowed inside do/end blocks.
  • Add yield_self to yield given block in its context. Unlike tap, it returns the result of the block. 
  • Support branch coverage and method coverage measurement. The branch coverage indicates which branches are executed and which are not.
  • Struct.new can create classes that accept keyword arguments.
  • Top-level constant look-up is no longer available.
  • About 5-10% performance improvement by removing all trace instructions from overall bytecode (instruction sequences).
  • Block passing by a block parameter is about 3 times faster than Ruby 2.4.
  • Mutex is rewritten to be smaller and faster.
  • ERB now generates code from a template twice as fast as Ruby 2.4.
You can read about all the new features and improvements in the official release notes.

Do you want to try these new features? Deploy the Bitnami Ruby Stack in just one click. To get started, you can choose to use our free all-in-one native installersvirtual machines, or launch it in the cloud.