If you stub a method or set expectations with should_receive these stubbed methods may also yield blocks. This is...

When some of your Google contacts are no longer synchronized with your e-mail client or mobile phone, those contacts...

If you are connected with a network that forbids e-mail traffic but allows SSH, you can tunnel your e...

For Email-Patterns see most recent E-Mail-Pattern. HOST = /\A[a-z0-9]+[a-z0-9\-\.]*[a-z0-9...

In order to request a SSL certificate from any dealer, you usually need a CSR certificate. As both the CSR...

Update: Staticmatic will not be further developed. They suggest to switch to middleman. If you need to make a static...

blog.jayfields.com

Deprecated ways to execute shell code in Ruby This is just a reference for legacy code. For new code, always...

You probably already manage servers you often connect to inside the ~/.ssh/config file. What is nice: you may define alias...

makandra dev

Before installing chef, make sure curl is installed and sudo finds your gems setup chef-client: follow this guide

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