KnowledgeBase Glossary    Contact Us
Browse by Category KnowledgeBase .: Virtuozzo and OpenVz Based Accounts .: Setting up Ruby on Rails on a "High Performance VPS" plan

Setting up Ruby on Rails on a "High Performance VPS" plan

Setting up Ruby on Rails on a "High Performance VPS" plan

After you have ordered the VPS, if you have not done so already, make sure you install the development tools package for your VPS.  Now login to the VPS via SSH and download the curent recommended version of Ruby as recommended by "".  As time goes on, you will need to substitute the versions and packages that I list here in my commands with the curent distribution, this is just an outline you can use to follow.  I always use the /usr/src/redhat/ area to store all my build work, but anywere really works.  Here are the commands I used:

cd /usr/src/redhat/SOURCES/
cd ../BUILD/
tar xpzf ../SOURCES/ruby-1.8.6-p286.tar.gz
cd ruby-1.8.6-p286/

At this point you will probably want to browse through the README (either "cat README" or "less README") so you can have a good idea about what to do, and what is going on.  Read through the "* How to compile and install" section so that you can make sure and you take care of any options and configurations appropriate to your installation needs.  Then run make to compile the sofware:

make test # optional to run tests to make sure the build functions
make install

Now you will want to install RubyGems which is the standard Ruby package manager.  Once again, when you read this, the package versions may be different, and you will need to substitute the curent distributions in what I have listed below.  Just go to and use the most recent distribution.

cd /usr/src/redhat/SOURCES/
cd ../BUILD/
tar xpzf ../SOURCES/rubygems-1.2.0.tgz
cd rubygems-1.2.0/
ruby setup.rb

As always, you will want to review the notes in the output of the last command above, so that you have a good background and understanding of what is going on, if you don't already know.  Now, following the next steps listed on "", you can install Rails using the following command:

gem install rails

Now, as quoted from "" there are other plugins that can be installed, but that is up to you to decide.  Now all you need to do to get up and running is:

"Create your application skeleton and start the server:

rails path/to/your/new/application
cd path/to/your/new/application
ruby script/server

You're running Ruby on Rails! Follow the instructions on http://localhost:3000."

How helpful was this article to you?

Related Articles

article Do you allow HYIPs (High Yield Investment Programs) to purchase hosting from you?
It depends. We evaluate each HYIP website to...

  5-22-2006    Views: 10896   
article What steps should I take in upgrading my VPS to a VPS with a newer operating system?
The steps to upgrade your VPS to a VPS with a...

  11-11-2005    Views: 10950   

User Comments

No comments have been posted.

.: Powered by Lore 1.5.4
Copyright 2005-2014 Advantagecom Networks, Inc. - Xen Linux Virtual Private Servers (VPS) - Paypal Accepted