No Image

Error Connecting to MySQL using Ruby on Rails in Linux – and its Solution

April 3, 2009 admin 4

I am currently working on a new Rails project. Its been a while since I worked with rails – so I updated Rails using the command ‘sudo gem update --system‘. I started the inbuilt server and tried to open a page – and to my surprise, I found that Rails is having trouble connecting to the MySQL server. It was apparent that the mysql gem was missing. So I tried to install it using the command ‘sudo gem install mysql‘. That failed too – this is the error I got…

No Image

Using Linux for a better Windows Experience

January 17, 2009 admin 0

If you are a Windows user who want more stability(but unwilling to switch to Linux completely), this post is for you. Basically, you have to create a dual boot system with Linux and Windows – and use Linux for doing the more ‘unsafe’ operations. The end result is windows remains stable – and you will be able to do things that are potentially dangerous.

No Image

Installing LAMP(Apache Web Server/PHP/MySQL) in Debian/Ubuntu

September 16, 2008 admin 4

Installing the LAMP environment on a Linux system is easy if you are comfortable with using the native package management software. If you on a Red Hat/Fedora/CentOS system, that will be yum – and for Debian/Ubuntu systems, that will be apt. This tutorial shows you how to install Apache 2, PHP 5 and MySQL 5 in Debian using apt.

No Image

Hello Script for bash

May 12, 2008 admin 3

Hello Script series for Bash. ‘Hello Script’ is a file that contains the most commonly used elements of a programming language so that it can […]

No Image

Case Sensitivity in URLs

October 17, 2007 admin 7

I am an open source guy – so naturally I prefer the flagship OSS software Apache to the proprietary Microsoft IIS. But there is one area where IIS does a better job than Apache – the case sensitivity of URLs.