Assert rmagick provision ... Gemfile gem 'rmagick', '2.13.2' # at this moment the latest stable version config/initializer/carrierwave.rb require 'carrierwave/processing/rmagick' ... and define a...

Use protocol independent URLs whenever possible so that the browser will choose the protocol related to the protocol which the...

Ubuntu 12.04 LTS x64, Ruby 1.8.7, Rails 2.13, PDFKit 0.5.4, Phusion Passenger Apache 2 I ran into this, when I...

swapoff.org

I am using git at several places: at work, at university, and at home. I want an own git user/email...

fontawesome.io

Font Awesome 4 has renamed all icons. What the fuck. Check the attached link for an icon list for the...

Whenever you create a table from a database migration, remember to add updated_at and created_at timestamps to that...

Today I ran into trouble installing therubyracer on Ruby 1.8. The installation failed with *** extconf.rb failed *** Could not create Makefile...

If you need to enable NewRelic monitoring on certain machines within the same Rails environment, a simple solution is to...

Ubuntu has a package mysql-sandbox that lets you install multiple MySQL versions into your user home: Install mysql-sandbox...

It is good programming practice to Don't Repeat Yourself (or DRY). In Ruby on Rails we keep our code...

developer.rackspace.com

Establishing a new SSH connection usually takes only a few seconds, but if you’re connecting to a server multiple...

So you client has asked you to implement a row of buttons to like the URL on Facebook, Twitter and...

askubuntu.com

If your XFCE renders text with overly hard, thin lines instead of smooth anti-aliased lines, you might need to...

So you're switching to PostgreSQL from MySQL? Here is some help... General hints on PostgreSQL \? opens the command overview...

makandra dev

The mysql2 gem in version 0.3.13 might break while compiling on older patch releases of Ruby 1.9.3 within rvm:

tjvantoll.com

Did you know you can color your line-throughs or underline, or make them wavy like spell-checkers do?

Do not use .rvmrc files to specify Ruby version and gemset configuration any longer, it's deprecated and not considered...

makandra dev

For all late night coders: The program "redshift" changes your monitors' white balance according to your position on the planet...

We sometimes send calender data or tasks using iCalendar (ICS) via eMail as specified in RFC 5545. Recently, a customer...

stackoverflow.com

I had some problems with Git and the file spec/fixtures/ČeskýÁČĎÉĚÍŇÓŘŠŤÚŮÝŽáčďéěíňóřšťúůýž. After pulling the latest commits, it would show that...

web.archive.org

Capistrano 2 brings the shell command which allows you to run commands on your deployment targets. There is also invoke...

makandracards.com

So you're hunting down a regression (or just a bug) and want to use git bisect to find out...

For websites that don't do JavaScript rendering on the client, it's best practice to put script tags at...

tldp.org

$RANDOM on bash returns a random integer between 0 and 32767. echo $RANDOM 9816 echo $RANDOM 30922