We regularly need to connect to the server in order to e.g. access the production console. Guessing the Capistrano deploy...

makandra dev

When you simply want to get to know Puppet, follow puppetlabs’ Learning Puppet Docs. They give you a handy introduction...

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

Occasionally you need to do something directly on the server -- like having all records recalculate something that cannot be done...

You can seriously speed up deployments with Capistrano when using a local git repository on the server you are deploying...

When deploying an application with "cap deploy" by default [1] you only deploy your code but do not run migrations...

httpd.apache.org

If you want to have a new log file every day automatically, but avoid using logrotate, the CustomLog directive is...

ActiveRecord models know how to cast a given string to the type of a given attribute (or column).

Since version 1.5 RubyGems requires at least Ruby 1.8.7. The last one working with Ruby 1.8.6 was RubyGems 1.4.2.

pivotallabs.com

One of the thornier problems in our workflow is knowing when assets are delivered from the designer and keeping them...

If you want to manually check if e-mail delivery works on a machine by sending an e-mail you...

When using ActionMailer, you can set an array of email addresses as recipients. If this array is generated by e.g...

Specify these gem versions in your Gemfile: gem 'cucumber', '~> 1.3.0' gem 'cucumber-rails', '= 0.3.2' # max version for Rails 2

makandra dev
github.com

The shell variable PS1 holds your bash prompt. You might want to change it to serve your needs best. Here...

Install OpenSSH Server: sudo apt-get install openssh-server To check if the server is running you should get no...

makandra dev

This tool is used on our application servers (and called when deploying) but it also works locally. Just call dumple...

This note describes a Cucumber step definition that lets you say: Then "Mow lawn" should be an option for "Activity...

When you use the send_file method to send a local file to the browser, you can save resources on...

getfirebug.com

You know Firebug as a Firefox extension but there is also a "Lite" version which runs purely off JavaScript.

This might be due to AppArmor denying the MySQL server access to most of the filesystem. You can instead use...

In case https://www.rubydoc.info/ is to slow or offline, you can also read a gem documentation offline. Start a server...

Find-as-you-type boxes are usually built by observing changes in a text field, and querying the server via...

From time to time we're convinced that an error must be very close to the network card, OS IP...