On recent/fresh installations of Ruby 1.8.7 you may encounter this error why calling any bundled binary (or just bundle exec...

We've since created ActiveType which has a restricted subset of Virtus' features. It might be enough for your needs...

When you print something from within your .bashrc file you will run into trouble when copying something onto your machine...

Sometimes you need to monitor a connection from your machine to a specific, single host or network in order to...

swapoff.org

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

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...

Rails has always included a scaffold script that generates a default controller implementation for you. Unfortunately that generated controller is...

If you need to test interaction with a remote API, check out the VCR gem as an alternative to Webmock...

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

developers.google.com

The Google Chrome DevTools allow you to inspect, debug, and analyze the on-device experience with the full suite of...

web.archive.org

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

In order to clone a git repository including all branches and tags you need to use two parameters when cloning...

Sometimes you want git to ignore certain files that appear on your machine. You can do this in 3 ways...

When you want to do a git diff but do not care about the full diff and just want to...

Create a directory mkdir ~/.aws Initialise git repository cd ~/.aws && git init Create a git branch with a name you...

We ran into trouble when adding additional compute units to our railscomplete Hosting environment lately. VM-instances on the new...

tl;dr: Ruby's Bundler environment is passed on to system calls, which may not be what you may want...

Here is a hacky way to load dumps directly from the source server, without fully copying them over and extracting...

So you want to know if you are on natty, precise, quantal, or something else? Check /etc/lsb-release. $ cat /etc/lsb-release

igvita.com

About Chrome's network stack and optimizations to load web pages faster.

Microsoft provides virtual machines for different Internet Explorer versions. The images are available for various virtualization solutions, including VirtualBox...

Use Socket.gethostname. So for a machine whose hostname is "happycat", it will look like this: >> Socket.gethostname => "happycat" That should work...