In medium-sized to large Rails applications, asset compilation can take several minutes. In order to speed up deployment, asset...
When your application is running on a multi-server setup, application logs are stored per server (unless you choose a...
By default, Capistrano truncates server responses and places an ellipsis at the end of lines that are longer than your...
For applications coming with lots of stylesheets and scripts, asset compilation might take quite long. This can be annoying when...
Boot partitions from installations prior to the 16.04 era are terribly small. When you install updates and encounter errors due...
You might have some trouble running a Rails LTS 2 app with MySQL 5.7. If you don't want to...
On your local system that only hosts non-critical development data and only you have access to, you can store...
The httpclient gem comes with a custom SSL cert store. While an customizable, application-level cert store is great when...
When you have string contents (e.g. a generated binary stream, or data from a remote source) that you want to...
You need to update a lof gems. Make sure you don't have any version constraints in your...
Running rails server will start a local server that you can access via http://localhost:3000. When you are working...
Your default postgres user is named like your linux user. That default user has limited access privileges, which can cause...
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...
If you want to make a screenshot of a website that works well in print or on a high-DPI...
I recently had fun with replacing a custom video plattform ("mycustomtv") in one of our applications. I learned a lot...
Understanding your type of cronjob Some cronjobs must only run on a single server. E.g. when you run nightly batch...
Git has two kind of tags: annotated lightweight Annotated tags are stored as full objects in the Git database. They...
We're usually running Ubuntu LTS versions. Sometimes newer hardware requires packages from more recent Ubuntu releases that only come...
If you are using PDFKit / wkhtmltopdf, you might as well want to use custom fonts in your stylesheets. Usually this...
Let's say you have a folder images and want to to move all files in there to a new...
RSpec allows defining methods inside describe/context blocks which will only exist inside them. However, classes (or any constants, for that...
While the hardware mute button of my Lenovo x230 worked on Ubuntu 14.04 out of the box, it does not...
After loading a staging dump into development, you might get an ActiveRecord::EnvironmentMismatchError when trying to replace the database (like...
On my Ubuntu MATE machine, switching applications with ALT + TAB was impossible, because it took nearly 2 seconds. The culprit...