The httpclient gem comes with a custom SSL cert store. While an customizable, application-level cert store is great when...
You need to update a lof gems. Make sure you don't have any version constraints in your...
Bundler::GemRequireError: There was an error while trying to load the gem 'mysql2'. Gem Load Error is: Incorrect MySQL client...
mysql> SELECT @@global.version; +------------------+ | @@global.version | +------------------+ | 5.6.30 | +------------------+ 1 row in set (0,00 sec) MySQL 5.6 Reference Manual says "BLOB and TEXT...
Use bundler > 1.15 to fix Gem::LOADED_SPECS_MUTEX (NameError). Given the following project: ruby -v ruby 1.8.7
Understanding your type of cronjob Some cronjobs must only run on a single server. E.g. when you run nightly batch...
When installing gems, a lot of time is spent building locally installed documentation that you probably never use.
Katapult 0.3.0 brings Rails 5 and Ruby 2.5 support with a new design, plus a ton of smaller features, fixes...
This error is raised because your old database does not have a configured environment yet, which Rails 5 enforces.
Rails applications and ruby gems should have a README that gives the reader a quick overview of the project. Its...
When writing XLSX files, there are gems like rubyXL or axlsx. While they do offer features like formatting or graphs...
When attempting to update RubyGems, depending on updates your previously performed, you might run into an error ERROR: While executing...
We're usually running Ubuntu LTS versions. Sometimes newer hardware requires packages from more recent Ubuntu releases that only come...
An end-to-end test (E2E test) is a script that remote-controls a web browser with tools like Selenium...
TL;DR: Bundler 2.0 will rename Gemfile to gems.rb and Gemfile.lock to gems.locked (sic). The old filenames will be supported...
RSpec allows defining methods inside describe/context blocks which will only exist inside them. However, classes (or any constants, for that...
There are several gems that make it easy to read and process xlsx files. Parsing the entire file at once...
You can use local copies of gems in your Gemfile like this: gem 'spreewald', path: '~/gems/spreewald' As soon as you...
ImageMagick can automatically crop surrounding transparent pixels from an image: convert input.png -trim +repage output.png
You can not use the hash_including argument matcher with a nested hash: describe 'user' do let(:user) { {id: 1...
If you use the Better Errors gem, you will sometimes notice that it can be very slow. This is because...
Nowadays it is fairly easy to intercept and modify mails globally before they are sent. All you have to do...
Rails supports time zones, but there are several pitfalls. Most importantly because Time.now and Time.current are completely different things and...
You can use gem list to list all gems available from a remote gem server: gem list -r --clear-sources...