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
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
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.
# 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
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 Continue Reading…