Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Dec 2006
    Location
    None of your business!
    Posts
    2,492
    Tokens
    50

    Latest Awards:

    Default Ruby On Rails (ROR) Installation Tutorial.

    This tutorial is for installing the popular ROR to a Linux server. Ruby on Rails is useful in many ways and I think it is useful to write this tutorial regarding how to install it in case anyone needs too.

    The installation of Ruby on rails is fairly basic but requires the installation of two main pieces of software. We need Ruby Gems and Rails both of which can be easily obtained.

    Now login to SSH terminal window using a client such as Putty.

    Step 1 - Installing Ruby Gems

    You need to now as I mentioned before be logged into SSH via root. Make sure after you enter each command you wait before typing the next. Also remember to press enter after you enter each command.

    Type -

    wget http://rubyforge.org/frs/download.ph...ems-0.8.11.tgz

    This will fetch the files required to install Ruby Gems

    tar zxvf rubygems-0.8.11.tgz

    This extracts the files you just downloaded

    cd rubygems-0.8.11

    This takes you too the new directory that was just extracted.

    sudo ruby setup.rb

    This runs the ruby set-up.

    If all goes well, you should see a message that says "Successfully build Ruby Gems".

    I advise that you now do the following, however it is not compulsory, it just cleans up the files you just downloaded.

    cd ..

    Then...

    rm ruby* -drf

    Step 2 - Installing Rails

    Now that the installation of Ruby is complete it is very easy to install Rails!
    All you have to do is type the following -

    sudo gem install rails --include-dependencies

    Make sure you wait for the Rails software to download and install this shouldn't take more than a couple of minutes.

    Well Done you just installed Ruby on Rails!

    If you are REALLY cheesy and weird (like myself) play Kaiser Chiefs new song "Ruby" while you install
    Last edited by Mr.OSH; 20-04-2007 at 09:58 PM.

  2. #2
    Join Date
    Mar 2005
    Location
    Leeds
    Posts
    3,423
    Tokens
    0

    Latest Awards:

    Default

    Nice tutorial

  3. #3
    Join Date
    May 2005
    Location
    /etc/passwd
    Posts
    19,110
    Tokens
    1,139

    Latest Awards:

    Default

    whats Ruby on Rails?
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

  4. #4
    Join Date
    Dec 2006
    Location
    None of your business!
    Posts
    2,492
    Tokens
    50

    Latest Awards:

    Default

    Quote Originally Posted by Jaffa Cakes! View Post
    whats Ruby on Rails?
    http://en.wikipedia.org/wiki/Ruby_on_Rails <- Read it.

  5. #5
    Join Date
    Dec 2006
    Posts
    3,467
    Tokens
    0

    Latest Awards:

    Default

    Very nice

  6. #6
    Join Date
    Aug 2006
    Location
    London
    Posts
    1,907
    Tokens
    0

    Latest Awards:

    Default

    Nice Tut!

  7. #7
    Join Date
    May 2005
    Location
    /etc/passwd
    Posts
    19,110
    Tokens
    1,139

    Latest Awards:

    Default

    so is Ruby, Ruby on Rails basically? :S
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

  8. #8
    Join Date
    Dec 2006
    Location
    None of your business!
    Posts
    2,492
    Tokens
    50

    Latest Awards:

    Default

    Quote Originally Posted by Jaffa Cakes! View Post
    so is Ruby, Ruby on Rails basically? :S
    Its Ruby but using Rails framework as you can install either Ruby or Rails separately as standalone applications if you like.

  9. #9
    Join Date
    May 2005
    Location
    /etc/passwd
    Posts
    19,110
    Tokens
    1,139

    Latest Awards:

    Default

    Ahh ok Thanks +REP for teaching me something new XD
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

  10. #10
    Join Date
    Dec 2006
    Location
    None of your business!
    Posts
    2,492
    Tokens
    50

    Latest Awards:

    Default

    Quote Originally Posted by Jaffa Cakes! View Post
    Ahh ok Thanks +REP for teaching me something new XD
    No problem, its not really that complicated anyway. + rep for generally just being nice.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •