valibuk.net

A place for opinions and notes of a valibuk.

Ruby on Rails, Capistrano, Mongrel and nginx on Gentoo

Tagged with: — ondrej at 1:25 am on Thursday, August 30, 2007

Ruby on Rails A few months ago I wrote quite popular :) manual how to install and use RoR, Capistrano and Mongrel with Apache on Gentoo. Things changed a little as the time goes and after some experiences with the nginx server on a Slicehost slice, I decided to write an updated manual and to use the nginx server instead of the Apache HTTP Server. Let’s start :)

A deployment process should be straightforward and automatic as much as possible. The main reason is that this process will be repeated many times and omitted or wrong steps usually cause hey-what-are-you-doing-the-site-does-not-work calls or e-mails from your customers. Fortunately, there is a nice tool for Ruby on Rails applications — Capistrano.

Larry the CowNow we know about a tool to automate the deployment of an application, but we need to deploy our application to a production environment — I decided for the combination of Mongrel and nginx.

…and everything runs on Gentoo :)

Here is my short howto:
(There is more where this came from … )

Sound Recording With Intel High Definition Audio On Dell Latitude D820 & Gentoo

Tagged with: — ondrej at 1:08 pm on Friday, March 23, 2007

Larry the CowThe Dell latitude D820 notebook with the Intel High Definition Audio sound card (snd_hda_intel) has only one jack for microphone and line in inputs. The outcome of this feature was, that only the internal microphone input worked on Linux :)

It was a problem for a longer time, there was a possibility improve — to set the position_fix option, but it never worked for me.

Fortunately, I found an excellent guideline for Debian, where this problem is solved :) Let’s adopt the instructions for Gentoo.

(There is more where this came from … )

Rails, Capistrano, Mongrel and Apache (with SSL) on Gentoo

Tagged with: — ondrej at 2:25 am on Monday, January 8, 2007

Ruby on Rails
There is a happy occasion in the development of an application — deployment. Users will use it, you will receive (hopefully) some money, there will be some bugs.. well, maybe not so happy occasion.. ;>
In most situations you will have to repeat a deployment process several times (bug fixes, new features, etc.). Maybe the process is not very complicated, but an automation will minimise possible mistakes such as typos or omitted commands.
Fortunately, there is a nice tool for Ruby on Rails applications — Capistrano.

Larry the CowNow we know about a tool to automate the deployment of an application, but we need to deploy our application to a production environment — I decided for the combination of Mongrel and Apache.

…and everything runs on Gentoo :)

Let’s start — here is my short howto:
(There is more where this came from … )

Slow CD / DVD Burning on Dell D820

Tagged with: — ondrej at 9:53 pm on Wednesday, December 27, 2006

Larry the CowI burned a DVD on my laptop, but it took ages :( The speed was between 0.5 – 1.3x; should be 8x. Arrrgh…
I was not able to enable DMA for the writer (TS-L632D). Fortunately I found a page with a solution.
(There is more where this came from … )

Ruby, DRb and Gentoo

Tagged with: — ondrej at 5:36 pm on Friday, October 27, 2006