---
title: "Ruby 2.5 Released"
publication: "Ruby Weekly"
issue: 381
published_at: "2018-01-11"
canonical_url: "https://rubyweekly.com/issues/381"
---

Ruby 2.5 Released

This week's Ruby and Rails news[Read this e-mail on the Web](http://rubyweekly.com/issues/381)

Ruby WeeklyIssue 381 — January 11, 2018

Yui Naruse[Ruby 2.5 Released: A Faster Step Forward](https://www.ruby-lang.org/en/news/2017/12/25/ruby-2-5-0-released/)It’s 5-10% faster than 2.4, `rescue`/`else`/`ensure` can now be used directly on blocks, hashes get new [transform_keys](https://blog.bigbinary.com/2018/01/09/ruby-2-5-adds-hash-transform_keys-method.html) & slice methods, pp.rb is loaded by default, ERB is 2x faster, and.. [a lot more](https://blog.redpanthers.co/whats-new-ruby-2-5/).


Noah Gibbs[Ruby 3 and JIT: Where, When and How Fast?](http://engineering.appfolio.com/appfolio-engineering/2017/12/26/ruby-3-and-jit-where-when-and-how-fast)The story and status of Just-In-Time compilation in Ruby 3 along with preliminary benchmarks.


Basecamp[Stimulus: A JS Framework for the HTML You Already Make](https://github.com/stimulusjs/stimulus)From Basecamp comes a new JavaScript framework well suited for Rails apps. Rather than replace your HTML or rendering mechanisms, Stimulus _augments_ existing HTML with functionality.


FormAPISponsored[Generate PDFs from Rails](https://formapi.io)FormAPI is the easiest way to fill out contracts, tax forms, or any other PDFs. Much easier than Prawn. Use our template editor to configure field positions and types (text, date, checkbox, image, signature, etc.) POST data, then download your PDF.

[![FormAPI\](https://copm.s3.amazonaws.com/31e57dfa.png)](https://formapi.io?utm_source=rubyweekly&utm_medium=email)


Scout Blog[Deploying to AWS: Running a Rails App on Fargate](http://blog.scoutapp.com/articles/2018/01/08/deploying-to-aws-part-i-running-a-rails-app-on-fargate)[AWS Fargate](https://aws.amazon.com/fargate/) lets you easily run containers on AWS without having to manage underlying container host VM instances.


Thomas Leitner[Some Initial Ruby 2.5 Benchmarks](https://gettalong.org/blog/2017/benchmarking-ruby-2-5.html)Three HexaPDF benchmarks vs 2.3 and 2.4. 2.5 shows good progress.


Prathamesh Sonpatki[Ruby 2.5 Enumerable Predicates Accept Pattern Argument](https://blog.bigbinary.com/2018/01/02/ruby-2-5-enumerable-predicates-accept-pattern-argument.html)`all?`, `any?`, `one?` and `none?` methods can now accept a single pattern argument and perform case equality using it. This may end up [coming to ‘select’ and ‘reject’ too.](https://bugs.ruby-lang.org/issues/14197)


Jobs

- [Ruby on Rails Developer at X-Team (Remote)](https://x-team.com/remote-ruby-on-rails-developer-jobs/?utm_source=cooperpress&utm_medium=email-ad&utm_campaign=ruby-weekly-q3-18)We help our developers keep learning and growing every day. Unleash your potential. Work from anywhere. [Join X-Team](https://x-team.com/remote-ruby-on-rails-developer-jobs/?utm_source=cooperpress&utm_medium=email-ad&utm_campaign=ruby-weekly-q3-18). X-Team
- [Sr. Ruby Platform Engineer @ Netflix (CA)](http://jobs.netflix.com/jobs/865783?utm_source=rubyweekly&utm_medium=email)Ever wondered how Netflix picked up Stranger Things or Narcos? Join the team that builds the technologies used by our content buyers. Netflix
- [Looking For Your Dream Ruby Role?](https://underdog.io/?utm_medium=advertisement&utm_source=rubyweekly&utm_campaign=homepage2018-jan-11&utm_content=dream-job)Try Underdog.io, where hundreds of the best tech companies go to meet top Ruby engineers. Companies email you directly as soon as next Monday. Underdog.io

In brief

- [Bath (UK) Ruby Conference on March 22-23, 2018](https://2018.bathruby.uk/?utm_source=rubyweekly&utm_medium=email) news 
Matz will be giving the opening keynote and celebrating Ruby’s 25th anniversary. @BathRuby
- [RailsConf 2018 CFP Open Until January 19, 2018](https://cfp.rubycentral.org/events/railsconf2018/?utm_source=rubyweekly&utm_medium=email) news 
Want to speak at RailsConf in Pittsburgh this April? Here’s your chance.
- [Rails 5.2 Adds Bootsnap to Speed Up Boot Time](https://blog.bigbinary.com/2018/01/01/rails-5-2-adds-bootsnap-to-the-app-to-speed-up-boot-time.html?utm_source=rubyweekly&utm_medium=email) news 
You probably knew it was coming, but here it is in Rails 5.2 beta 1. BigBinary Blog
- [Rails 5.2 Supports Descending Indexes for MySQL 8+](https://blog.bigbinary.com/2018/01/10/rails-5-2-supports-descending-indexes-for-mysql.html?utm_source=rubyweekly&utm_medium=email) news Chirag Shah
- [Writing C and Sharing Memory... in Ruby](https://blog.rebased.pl/2017/12/27/writing-c-and-sharing-memory.html?utm_source=rubyweekly&utm_medium=email) tutorial Piotr Szmielew
- [A Production Rails Deployment on Google Cloud Kubernetes Engine](http://www.akitaonrails.com/2018/01/09/my-notes-about-a-production-grade-ruby-on-rails-deployment-on-google-cloud-kubernetes-engine?utm_source=rubyweekly&utm_medium=email) tutorial 
Not a step-by-step tutorial, but a collection of detailed notes. Fabio Akita
- [Viewing Migration SQL Without Running the Migration](https://thomasleecopeland.com/2018/01/10/migration-sql.html?utm_source=rubyweekly&utm_medium=email) tutorial Tom Copeland
- [How to Build Ruby with More Detailed Memory Profiling](http://engineering.appfolio.com/appfolio-engineering/2018/1/3/quickie-building-ruby-with-memory-profiling?utm_source=rubyweekly&utm_medium=email) tutorial Noah Gibbs
- [Be Wary of Net::HTTP](https://engineering.wework.com/ruby-users-be-wary-of-net-http-f284747288b2?utm_source=rubyweekly&utm_medium=email) tutorial 
How a mystery of specified timeouts being doubled for all HTTP calls was solved. WeWork Engineering
- [On The Names for Ruby Implementations](http://engineering.appfolio.com/appfolio-engineering/2017/12/28/cruby-mri-jruby-rubyspec-rubinius-yarv-a-little-bit-of-ruby-naming?utm_source=rubyweekly&utm_medium=email) tutorial 
Explaining what CRuby, MRI, JRuby, RubySpec, Rubinius, and YARV are and how they relate. Noah Gibbs
- [Setting Up CircleCI 2.0 for Rails](https://robots.thoughtbot.com/circleci-2-rails?utm_source=rubyweekly&utm_medium=email) tutorial Thoughtbot
- [Rust for Rubyists](https://matthias-endler.de/2017/rust-for-rubyists/?utm_source=rubyweekly&utm_medium=email) tutorial 
A comparison of idiomatic code in Rust and Ruby. Matthias Endler
- [Testing Multiple WebSocket Sessions With Minitest and Rails 5](https://kierancodes.com/blog/how-to-test-multiple-websocket-sessions-with-minitest-and-rails-5-system-tests?utm_source=rubyweekly&utm_medium=email) tutorial 
Did you know you can switch between multiple Capybara sessions in your tests? Kieran Eglin
- [Monitor and Enhance Ruby Application Performance with Datadog](https://www.datadoghq.com/dg/apm/ruby-tracing/?utm_source=Advertisement&utm_medium=CooperPress&utm_campaign=CooperPress-RubyWeeklyS) 
Visualize application traces, set sophisticated alerts, and resolve performance issues. [Start a free trial](https://www.datadoghq.com/dg/apm/ruby-tracing/?utm_source=Advertisement&utm_medium=CooperPress&utm_campaign=CooperPress-RubyWeeklyS). DatadogSponsored
- [Rails 5.2 Changes and New Features in 6 Minutes](https://www.driftingruby.com/episodes/ruby-on-rails-5-2-0-changes-and-new-features?utm_source=rubyweekly&utm_medium=email) video 
Upcoming features include Active Storage, a built-in Redis cache store, and more. Drifting Ruby
- [High Performance GPU Computing with Ruby](https://www.youtube.com/watch?v=eA3sgX0oLxU) video 
[Arrayfire](https://github.com/arrayfire/arrayfire) is a general purpose GPU development library with [Ruby bindings](https://github.com/arrayfire/arrayfire-rb). Prasun Anand
- [Top 5 Reasons for Rubyists to Use Crystal](https://crystal-lang.org/2018/01/08/top-5-reasons-for-ruby-ists-to-use-crystal.html?utm_source=rubyweekly&utm_medium=email) opinion 
Crystal is a statically compiled language inspired by Ruby’s syntax. Mark Siemers
- [Ruby Still Isn't Dead](https://www.engineyard.com/blog/ruby-still-isnt-dead?utm_source=rubyweekly&utm_medium=email) opinion 
Great news because we have a lot of issues left to publish… Engine Yard
- [Slow CI Build? Make It Run in 2 Minutes or Less with Boosters](https://semaphoreci.com/landers/boosters-rails?utm_source=rubyweekly&utm_medium=email&utm_campaign=rubyweekly-boosters-20180111) tools SemaphoreSponsored
- [SequelTools: Rake Tasks for Sequel Migrations & DB Management](https://rosenfeld.herokuapp.com/en/articles/ruby-rails/2017-12-15-introducing-sequel_tools-rake-integration-over-sequel-migrations-and-related-tasks?utm_source=rubyweekly&utm_medium=email) tools Rodrigo Rosenfeld Rosas
- [GoCD - Open Source Continuous Delivery Server](https://www.gocd.org/?utm_campaign=gocd_oss&utm_medium=email&utm_source=cooperpress_ruby&utm_content=go_website&utm_term=) tools GoCDSponsored
- [Lite Cable: A Lightweight Rails-Free Action Cable Implementation](https://github.com/palkan/litecable?utm_source=rubyweekly&utm_medium=email) code Vladimir Dementyev
- [Color LS: Ruby-Powered Beautification of 'ls'](https://github.com/athityakumar/colorls?utm_source=rubyweekly&utm_medium=email) code 
Uses color and icons to better show off what’s going on file-wise. Athitya Kumar

Curated by [Peter Cooper](https://twitter.com/peterc) and [Glenn Goodrich](https://twitter.com/ruprict), and published by [Cooperpress](https://cooperpress.com/).
Send feedback by simply replying to this mail.
Want to sponsor an issue? See our [media kit.](https://cooperpress.com/mediakit)
Want to post a job? Email us or [use our self-serve system.](https://booking.cooperpress.com/jobs)

[Stop getting Ruby Weekly](*|UNSUB|*) | [Change email address](*|UPDATE_PROFILE|*) | [Read this issue on the Web](http://rubyweekly.com/issues/381)

© Cooperpress Ltd, Fairfield Enterprise Centre, Louth, LN11 0LS, UK
[Email policy](https://cooperpress.com/spam.html) [Privacy policy](https://cooperpress.com/privacy.html)
