Installing gems on a server that has no access to the internet (especially rubygems.org) requires to bundle the gems into...

If a project ist configured to spawn CI runners for tests or deployment when pushing to the Repo, a habit...

In newer passenger versions the output of passenger -v has changed. capistrano-passenger tries to parse the version and now...

ruby-lang.org

Ruby 3.0 introduced a breaking change in how it treats keyword arguments. There is an excellent blog post on the...

When your Rails application server raises error, Capybara will fail your test when it clears the session after the last...

makandra dev

When your application is open for public sign up and sends out transactional e-mails to a large number of...

makandra dev

In Ruby (almost) everything is an Object. While this enables a lot of powerful features, this concept might be confusing...

We had the issue, that a VCR spec failed, after updating CarrierWave from version 0.11.0 to 1.3.2. In this version...

CarrierWave comes with a set of default configuration options which make sense in most cases. However, you should review these...

tl;dr: Upgrade the gem to at least 4.0.1 When you use rspec_rails in a version < 4 with Rails...

stackoverflow.blog

A rough guide how to implement a REST API. The discussion here includes some interesting points as well: Timestamps: ISO8601...

If your project depends on an old version of ImageMagick that you can no longer install in your system, you...

You can use git worktree to manage multiple working trees attached to the same repository. But why should I use...

bundle outdated [--filter-major|--filter-minor|--filter-patch] Example output for bundle outdated --filter-major Other examples

getbootstrap.com

Recently I made an upgrade from Bootstrap 3 to Bootstrap 4 in a bigger project. Here are some tips how...

When running an older version of docker-compose you might see the following error: ERROR: Version in "./docker-compose.yml" is unsupported...

makandra dev

Rails 6 includes a WYSIWYG editor, Action Text. It works out of the box quite well, but chances are that...

makandra dev

There are several tools for DNS debugging which offer you more or less information. Most of the time the more...

makandra dev

I just finished migrating a project from the Asset Pipeline to Webpacker, this is what my diff to master looks...

In long diffs, it can become impossible to spot small changes in larger blocks of moved code. This may be...

Headless Chrome is a way to run the Chrome browser without a visible window. Configuring Capybara Configure the Capybara driver...

SSHKit 1.9.0 might fail with the following error, when trying to deploy a Rail application. Upgrading the gem to version...

Using Ruby 1.8.7 you will not be able to use the maximum versions Rubygems 1.8.30 and Bundler 1.17.3 with https://...

When deploying a Rails application that is using Webpacker and Capistrano, there are a few configuration tweaks that optimize the...