Kurinchi Blogger Scribbles …

Archive for the ‘Ruby’ Category

Oct 02

How to setup Rails on WAMP server using HTTP Proxy module?

Last updated: October 3rd, 2012

To setup Rails on windows after Ruby and Rails setup,

i) Edit hosts file in windows environment and set the server name in the hosts file to myrails

In this example, i have used “myrails” as the server name for the project.

ii) Edit httpd configuration setting on WAMP to make sure proxy and proxy_http module is turned on (check if it those lines are not commented out)

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so


Oct 01

How to install Ruby, Rails and MySQL on Ubuntu Server?

Last updated: October 1st, 2012

For this tutorial we will be using Ruby 1.9.3 and Rails 3.2.1

First thing update
$ sudo apt-get update

Next, we are going to install git, RVM which is essential for the build

$sudo apt-get install build-essential git-core curl

RVM stands for Ruby Version Manager that is used for installing and managing multiple versions of Ruby at one point of time.

Sep 30

Installing Ruby and Rails on Windows

Last updated: October 1st, 2012

# First step, download ruby from http://rubyinstaller.org/. Once downloaded click the installer to install Ruby into your desired folder (C:\Ruby). Make sure to add Ruby to your path.

# Once installed, check the version of Ruby installed by typing in

May 03

Install Ruby, Rails, RadRails on CentOS, Fedora

Last updated: May 2nd, 2009

Installing Ruby, Rails on CentOS
Installing Ruby on Rails involves using yum to first install ruby and then to install ruby docs, irba followed by rails installation.
$ yum install -y ruby
$ yum install -y ruby-devel ruby-docs ruby-ri ruby-irb ruby-rdoc
$ gem install rails –include-dependencies

May 02

Repository: How to configure yum repos?

Last updated: May 2nd, 2009

To make automatic download and installation by using “yum” you can create/add the repo to /etc/yum.repos.d/.

Then create file with .repo extension to do an automatic yum update at later stage
vi /etc/yum.repos.d/reponame.repo

Below is the content to RubyForge yum repo. Save the content as “rubyforge.repos” under “/etc/yum.repos.d”


Valid HTML 4.01 Strict  Valid HTML 4.01 Strict