When running tests via parallel_tests, you may encounter an error: cannot load such file -- parallel_tests/gherkin/runtime_logger Error creating formatter...
When testing your command line application with Aruba, you might need to stub out other binaries you don't want...
A Rake task appears in rake -T if it has a description: desc 'Compile assets' task :compile do ... end
Yesterday I stumbled across a talk in which the guy mentioned module sub-classing. I was curious what you can...
In order to have monitoring for Sidekiq (like queue sizes, last run of Sidekiq) your application should have a monitoring...
Closure_tree lets your ActiveRecord models act as nodes in a tree data structure. This promises a few improvements over...
Detect if a gem has been activated A gem is activated if it is either in the current bundle (Gemfile.lock...
We have released a new library Gemika to help test a gem against multiple versions of Ruby, gem dependencies and...
This error can be caused by the mysql2 gem under mysterious circumstances. You need to remove it with gem uninstall...
When you are calling Bundler from your shell scripts, you might find it useful that a failed bundle call returns...
We have a new gem Minidusen which extracts Dusen's query parsing and LIKE query functionality. Minidusen can no longer...
Improve geordi cucumber: Only attempt @solo run when the specified files contain the @solo tag, skip @solo run if any...
Capistrano is by default configured to exclude the gems of the groups development and test when deploying to the stages...
You can define methods using def or define_method. In the real world, there is no performance difference.
You can download .gem files using gem fetch: gem fetch activesupport consul This will produce files like active-support-5.0.0.gem and consul-0.12.1.gem...
#dig lets you easily traverse nested hashes, arrays, or even a mix of them. It returns nil if any intermediate...
As your Rails project grows, you will accumulate a number of small patches. These will usually fix a bug in...
This gem gives you a rake task db:seed:dump do create a db/seeds.rb from your current database state.
Instead of using this hack you might want to use MariaDB 10.x which can work with both old and...
Tool to show you which gems are slow to load: ➜ git:(master) ✗ bundle exec bumbler [################################################# ] (49/65) travis-lint...
Stackprof is a sampling call-stack profile for Ruby 2.1+. Instead of tracking all method calls, it will simply collect...
Uses FFI and works all relevant operating systems. If you'd try to do it yourself, you'd have to...
Validations should be covered by a model's spec. This card shows how to test an individual validation. This is...
To install gems Bundler needs to be able to talk to https://api.rubygems.org. If you are behind a proxy you...