IRB 1.2 (shipped with Ruby 2.7, but works on 2.5+) brings pretty syntax highlighting and multiline cursor navigation. However, pasting...

tekin.co.uk

Git diffs show the surrounding contexts for diff hunks. It does so by applying regular expressions to find the beginning...

curl-to-ruby is a handy tool that converts your curl command to ruby code that uses the Net::HTTP...

In Rubocop you might notice the cop Style/CaseEquality for e.g. this example: def foo(expected, actual) expected === actual end

Here is a short summary of Cucumber hooks in Ruby taken from https://github.com/cucumber/cucumber-ruby. Note that the BeforeStep is...

We currently test most of our gems on Travis CI, but want to migrate those tests to Github Actions. This...

Installing old Rubies (<= 2.3) with a standard rbenv + ruby-build is no longer possible on Ubuntu 20.04. This is because...

If you want to get the path of a file relative to another, you can use the expand_path method...

To find a version containing the regular expression foo in the history of any branch: git grep foo $(git rev...

rubyjard.org

Ruby Jard provides a rich Terminal UI that visualizes everything your need, navigates your program with pleasure, stops at matter...

When you use Sentry to monitor exceptions, an important feature is Sentry's error grouping mechanism. It will aggregate similar...

makandra dev
medium.com

In Ruby on Rails, all the routes of a given application can be found within the config/routes.rb file.

When writing some logs to a file, that don't use Ruby's logger utility, it is often useful to...

makandra dev

If you have a Ruby Pathname, you can use the method :/ to append filepaths to it. With this method, Ruby...

Ruby's File class has a handy method binary? which checks whether a file is a binary file. This method...

developer.squareup.com

We're pleased to announce Ruby 3’s new language for type signatures, RBS. One of the long-stated goals...

island94.org

GoodJob is a new background worker gem. It's compatible with ActiveJob. We're huge fans of Sidekiq for its...

github.com

These warnings are printed when the etc Gem is installed, while etc is also included in Ruby. Fix with:

"Open-source software (OSS) is great. Anyone can use virtually any open-source code in their projects." Well, it depends...

Nokogiri is great. It will even fix invalid HTML for you, like a browser would (e.g. move block elements out...

github.com

An unresponsive service can be worse than a down one. It can tie up your entire system if not handled...

Speaker today is Henning Koch, Head of Development at makandra. This talk will be in German with English slides.

tl;dr Don't forget require 'English' if you use a named global such as $LAST_MATCH_INFO. Otherwise this...

In case you want to use pry with an older version of Ruby, you can try the following configurations.