This script loads a dump into your development database. You can provide the full path to you database dump like...
There is a conflict between current capistrano versions and the 2.5.1 net-ssh gem. Make sure you upgrade to 2.5.2...
MySQL version 5.1 comes with an alternative, faster InnoDB implementation (called "InnoDB Plugin"). Switching is easy: Stop your mysqld with...
This is for you when you want to mount a dmcrypt encrypted partition manually, e.g. from a live CD.
This will give you the string that appears most often in an array: names = %w[ foo foo bar bar bar...
Install libreadline: sudo apt-get install libreadline-dev Reinstall the ruby and tell rvm where to find readline
When deploying code with Capistrano (depending on your configuration) at some point Capistrano tries to check out code from your...
In cucumber you are able to run features in whatever directory you like. This also includes executing features in subdirectories...
In your Cucumber features you can't really click hidden elements when using Selenium (it does work for a plain...
When you have objects in your database that hold latitude and longitude and you want to find others that are...
Instead of running all missing migrations on your test database with rake db:migrate RAILS_ENV=test you can also...
Single step and slow motion for Cucumber scenarios can come in handy, especially in @javascript scenarios. # features/support/examiners.rb AfterStep('@slow_motion...
There is a new card about how to do this with the new AWS Command Line Interface
Most likely you run rake and your code is causing an exception which is not the one shown in your...
Consider you have a website vhost listening to www.example.com, redirecting all incoming requests that do not talk about the configured...
Did you check Copy to Projects Asset as...
...and there is an existing file with the same name in your...
Detecting if a Javascript is running under Selenium WebDriver is super-painful. It's much easier to detect the current...
cpulimit is a simple program which attempts to limit the cpu usage of a process (expressed in percentage, not in...
This card explains how to upgrade an existing RubyMine installation to a newer version. If you're installing RubyMine for...
If you encounter above mentioned failiure message after installing the ruby-debug gem then you have to explicitly require linecache...
You can unpack a .tar.gz file into the current directory like this: tar -xzvf archive.tar.gz The options used are
Install FreeBSD Download a suitable image from this site Select File > New… to and follow the instructions, choose the .iso...
We regularly need to connect to the server in order to e.g. access the production console. Guessing the Capistrano deploy...
We recently decided to put static content for HouseTrip.com to Amazon Cloudfront for a faster user experience. This happens fully...