In case you want to require a gem, that is not in the Gemfile of you bundle and therefore not...

This card compares patterns to store trees in a relation database like MySQL or PostgreSQL. Implementation examples are for the...

When you load a dump for development, records may reference images that are not available on your machine.

Sometimes you want/have to send specific http(s) requests. You can do that easy with curl or just write the...

github.com

Barby is a great Ruby gem to generate barcodes of all different sorts. It includes support for QR codes via...

makandra dev

This is a visualization of the files that will be generated by some useful rails generators. Invoke a generator from...

This is not an issue in newer versions of HAML (starting with 5.0.0), as the ugly-option was removed...

There are various ways to run external commands from within Ruby, but the most powerful ones are Open3.capture3 and Open3.popen3...

Occasionally, you have to talk to APIs via HTTPS that use a custom certificate or a misconfigured certificate chain (like...

github.com

/home/.../ruby/gems/2.1.0/gems/bundler-1.14.3/lib/bundler/rubygems_ext.rb:45:in `full_gem_path': uninitialized constant Bundler::Plugin::API::Source (NameError) Solution: Upgrade Rubygems beyond 2.6.9...

We have projects that have been developed using many different versions of Ruby. Since we do not want to...

On application servers, gems are usually bundled into the project directory, at a location shared across deployments. This is usually...

TLDR: When you put CSS rules into a partial and import that partial multiple times, the CSS rules will be...

First find the reference for the entry you want through looking at the stash: $ git stash list stash@{0}: WIP...

Sometimes huge refactorings or refactoring of core concepts of your application are necessary for being able to meet new requirements...

smashingmagazine.com

A comprehensive introduction to sending HTML emails. Intro: HTML email: Two words that, when combined, brings tears to a developer...

So you're getting an error like this: undefined method `activate_bin_path' for Gem:Module (NoMethodError)

This method will remove automatically installed packages that no other packages depend on any more. This, of course...

web.archive.org

xargs is a powerful bash tool that can take input from $STDIN and pass it to a given command. I.e...

github.com

When running tests via parallel_tests, you may encounter an error: cannot load such file -- parallel_tests/gherkin/runtime_logger Error creating formatter...

makandra dev
web.archive.org

When testing your command line application with Aruba, you might need to stub out other binaries you don't want...

In order to have monitoring for Sidekiq (like queue sizes, last run of Sidekiq) your application should have a monitoring...

github.com

This might be relevant for us since we're often managing customer documents in our apps. I played around with...

relishapp.com

VCR lets you configure how it matches requests to recorded cassettes: In order to properly replay previously recorded requests, VCR...