Archive for March, 2008

Today’s market is the market of the Design but the technology. Not only related to the web applications but in a very generic sense. The greatly designed application basecamp turned Rails into a favorite framework of numerous programmers all over the globe. But the non-tech end users who are using basecamp don’t even think on […]

Tuesday, March 25th, 2008 | No Comments

Setting up custom error pages are needed whenever the app goes in maintenance or when the code gets crashed … In Nginx, its fairly simple but once when you know it.
Say your app example.com is residing in /var/www/apps/example
Nginx configurations
say your existing configuration looks like…

server{
listen 80;
[…]

Sunday, March 23rd, 2008 | No Comments

Ruby 1.9 provides the block scoping of the local variables. It shadows the outside local variable in the block and allocates a new object_id in the memory to the block variable, which essentially means much more flexibility in using the lambdas without worrying about the name of the block variable. Remember that instance, class and […]

Sunday, March 16th, 2008 | No Comments

If you have installed ruby using apt-get or if you have not mentioned the configuration option for openssl while installing from source, you can expect openssl will not work with ruby.
Here is the solution for the same…
Step 1
Install gcc and make(if you don’t have already on your box)

sudo apt-get install gcc make

Step 2
Install […]

Tuesday, March 4th, 2008 | No Comments

In a fresh Ubuntu, not having the locales setup, it shows warning every time while installing any software/library and while stopping/restarting too.
The simple way to setup the locales you need is…
e.g. “en_IN UTF-8″
Step 1
Edit or Create the file /var/lib/locales/supported.d/local and add the required local in the file as…

en_IN UTF-8

you can add more locales […]

Tuesday, March 4th, 2008 | No Comments