• Home
  • About Me
  • Musings
  • Programming
  • Computers
  • Open Source
  • Society
  • Books
  • Design
  • Movies
  • Installing Rails : Local gem install

    Posted on March 23rd, 2009 by Rajeshwaran S P

    After a unsuccessful installation of rails that took nearly 5 hours, I decided to get rid of Ruby. But the geek inside me, wanted me to go for the kill. That started the quest of successfully installing and deploying rails on WAMP server. Here are the steps.

    Requirements:

    Installation Instructions:

      Install WAMP and Ruby on the machine.
      Extract the Ruby Gems Zip file to any location and open a command prompt window.
      Run setup.rb from the command prompt in the location where the zip was extracted.
      Open command prompt and navigate to the folder where the downloaded gems are located.
      Install Rake using the following command.
    1
    
    gem install rake-x.x.x --local
      Here x.x.x stands for the version number, for example, to install rake-2.3.2.gem run it as ‘gem install rake-2.3.2 –local’.
      Install Active Support, Active Record, Action Pack, Action Mailer and Rails using the command as below
    1
    
    gem install gem-x.x.x --local
      Replacing the gem- to the current gem to be installed.

    This will get Rails installed on the machine. The total install time should be close to 10 minutes.

    Possibly Related posts:

    1. Rails Installation Installing Rails needs a lot of patience. The command is...
    2. Rails: Error with MySQL in welcome screen After installing rails, to test it, I created a rails...
    3. Installing LAMP in Ubuntu Following are the steps to get Apache, MySQL and PHP...
    4. Fixing libmysql.dll issue in Rails To fix the error, “This application has failed to start...
    5. Rake Migrate – Aborted! Trying out a sample application using rails, I faced a...

    Tags: , ,

    2 Responses to “Installing Rails : Local gem install”

    1. Atul said :

      thanks gud info on Rails

    2. Rajeshwaran S P said :

      More on rails to come…

    Leave a Reply