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...
Install Ubuntu Server Download an image from this site Select File > New… to and follow the instructions, choose the .iso...
ActiveRecord gives you the :include option to load records and their associations in a fixed number of queries. This is...
Sometimes you need to dynamically load an image and do something as soon as its loaded (when for example its...
When you click a link or a press a button on a Selenium-controlled browser, the call will return control...
When you set both a record's association and that association's foreign key attribute, Rails does not realize you...