This should not be necessary in any case and is only for special cases, for e.g. if the assets...
Bundler::GemRequireError: There was an error while trying to load the gem 'mysql2'. Gem Load Error is: Incorrect MySQL client...
Trying to open a vnc window with geordi geordi vnc ended up with this error: > VNC viewer could not be...
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
When your Rails controller calls render, you can pass a :status option for the HTTP status code: render 'results', status...
With passenger-status --show=requests you can get a huge JSON showing current information about the running passenger processes.
Here is how to use Chromedriver without libraries like selenium-webdriver. This can be useful for debugging. The following example...
If you want to make a screenshot of a website that works well in print or on a high-DPI...
When flagging a spec that will be implemented later as pending, include a failing spec body or RSpec 3 will...
When a Rails controller action should handle both HTML and JSON responses, do not use request.xhr? to decide that. Use...
I recently had fun with replacing a custom video plattform ("mycustomtv") in one of our applications. I learned a lot...
Note netstat has mostly been superseeded by its more modern rewrite ss which nowadays comes pre-installed rather than netstat...
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.
If one etcd node is no longer a member of the remaining etcd cluster or fails to connect you need...
When you have a pending Cucumber step (or feature) that also uses an existing VCR cassette, your pending test may...
Katapult 0.3.0 brings Rails 5 and Ruby 2.5 support with a new design, plus a ton of smaller features, fixes...
Enumerable#all? returns true for an empty collection. This totally makes sense but you have to think about it when...
Say you want to move a git repository from one remote (perhaps Github) to another (perhaps Gitlab).
If your Rails application is using Webpack you need to serve assets on the same host as you application runs...
This cucumber step is useful for testing an image (looking at the src of the image). Then(/^I should see...
ActiveSupport::Dependencies takes care of auto-loading any classes in development. This is usually useful, but when you run into...
This is an extension to PostgreSQL vs MySQL: How to UPDATE using a JOIN. UPDATE employees SET department_name = departments.name...