Username: Save?
Password:
Home Forum Links Search Login Register*
    News: Keep The TechnoWorldInc.com Community Clean: Read Guidelines Here.
Recent Updates
[March 06, 2024, 02:45:27 PM]

[March 06, 2024, 02:45:27 PM]

[March 06, 2024, 02:45:27 PM]

[March 06, 2024, 02:45:27 PM]

[February 14, 2024, 02:00:39 PM]

[February 14, 2024, 02:00:39 PM]

[February 14, 2024, 02:00:39 PM]

[February 14, 2024, 02:00:39 PM]

[February 08, 2024, 10:26:18 AM]

[February 08, 2024, 10:26:18 AM]

[February 08, 2024, 10:26:18 AM]

[February 08, 2024, 10:26:18 AM]

[November 27, 2023, 06:32:12 PM]
Subscriptions
Get Latest Tech Updates For Free!
Resources
   Travelikers
   Funistan
   PrettyGalz
   Techlap
   FreeThemes
   Videsta
   Glamistan
   BachatMela
   GlamGalz
   Techzug
   Vidsage
   Funzug
   WorldHostInc
   Funfani
   FilmyMama
   Uploaded.Tech
   MegaPixelShop
   Netens
   Funotic
   FreeJobsInc
   FilesPark
Participate in the fastest growing Technical Encyclopedia! This website is 100% Free. Please register or login using the login box above if you have already registered. You will need to be logged in to reply, make new topics and to access all the areas. Registration is free! Click Here To Register.
+ Techno World Inc - The Best Technical Encyclopedia Online! » Forum » THE TECHNO CLUB [ TECHNOWORLDINC.COM ] » Programming Zone » Others
 Install Ruby on Rails on Ubuntu Linux
Pages: [1]   Go Down
  Print  
Author Topic: Install Ruby on Rails on Ubuntu Linux  (Read 2689 times)
Mark David
Administrator
Super Elite Member
*****



Karma: 185
Offline Offline

Posts: 1624

!!!Techno King!!!

fabulous_designer
View Profile WWW
Install Ruby on Rails on Ubuntu Linux
« Posted: March 16, 2007, 02:07:48 PM »


Install Ruby on Rails on Ubuntu Linux

Installing Ruby on Rails on Ubuntu Linux isn't quite as easy as installing it on other operating systems. Here's a recipe that'll get you up and running in no time.

The most important step in this process is to edit the repository sources file and make sure that you have all the repositories that you need.

First, open the /etc/apt/sources.list file, find these lines and remove the # symbol from before them.

Code:
deb http://us.archive.ubuntu.com/ubuntu dapper universe main restricted universe
deb http://security.ubuntu.com/ubuntu dapper-security universe

Next, run these commands from a Terminal window:

Code:
sudo apt-get update
sudo apt-get install ruby ri rdoc
sudo wget http://rubyforge.org/frs/download.php/11289/rubygems-0.9.0.tgz
tar -xvzf rubygems-0.9.0.tgz
cd rubygems-0.9.0
sudo ruby setup.rb
sudo gem install rails –include-dependencies

The apt-get commands will install the programming language Ruby, along with a number of modules that are required for Rails. The wget command downloads RubyGems, the ruby package manager similar to the built-in Ubuntu apt-get system. Finally, gems is used to install the Rails framework onto your computer.

And that's all there is to it! You will now have a shiny new Ruby on Rails installation on your computer. To create a new rails project, navigate into the directory you wish to place your application, and use this command:

Code:
rails mynewproject

You can find more information on Ruby on Rails at the official site, or you can check out the Rails Quick Reference over at Johnny's Thoughts.

Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Copyright © 2006-2023 TechnoWorldInc.com. All Rights Reserved. Privacy Policy | Disclaimer
Page created in 0.092 seconds with 24 queries.