# Virtual rails....installing rails?

**URL:** <https://www.ruby-forum.com/t/virtual-rails-installing-rails/192956>\
**Category:** Rails\
**Created:** [August 9, 2010, 5:54am UTC](https://www.ruby-forum.com/t/virtual-rails-installing-rails/192956 "2010-08-09T05:54:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [August 9, 2010, 5:54am UTC](https://www.ruby-forum.com/t/virtual-rails-installing-rails/192956/1 "2010-08-09T05:54:13Z")

</div>

I am running windows vista on my laptop. i installed virtual machine  
and virtual rails and am using linux mint. after the installation i  
followed a tutorial which had me do the following:

1. Log in and open a terminal if you need to. First we’ll install Ruby  
1.8 and Ruby’s development libraries. We’ll also install IRB, which is  
quite useful while trying Ruby programming.  
sudo apt-get install ruby ruby1.8-dev irb

You will be prompted for your password so be sure to get it right!  
2. Now that Ruby’s installed, let’s install SQLite 3. SQLite is a  
lightweight, file-based database that’s good for development. Feel  
free to use another database here if you’d like, such as MySQL or  
PostgreSQL.  
sudo apt-get install sqlite3

both these installations were succesful. I tried following the 3rd  
installation but I could not find the exe. file to open and install  
rails

1. Now let’s start installing Rails. First you’ll need RubyGems.  
Download it this way:

wget [http://rubyforge.org/frs/download.php/5](http://rubyforge.org/frs/download.php/5) … 0.8.11.tgz

1. Now unpack the RubyGems package:

tar -zxvf rubygems-0.8.11.tgz

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [August 9, 2010, 11:37am UTC](https://www.ruby-forum.com/t/virtual-rails-installing-rails/192956/2 "2010-08-09T11:37:49Z")

</div>

On 9 August 2010 10:34, Chris M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > 
> 
> There is no .exe installer. The .tgz file is like a .zip file, and it  
> just contains the source code for RubyGems. The tutorial should give  
> you instructions on how to then install that source code to your  
> system; it’ll look something like:
> 
> $ cd rubygems-0.8.11  
> $ sudo ruby setup.rb

Also, that is a _very_ old version of RubyGems – this must be an old  
tutorial. If you’re trying to use the latest Rails gems with this,  
you’ll likely run into trouble. I strongly recommend you use the  
latest version of RubyGems instead (1.3.7 at time of writing); you can  
download it from here:

[http://rubygems.org/pages/download](http://rubygems.org/pages/download)

Chris

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [August 9, 2010, 11:35am UTC](https://www.ruby-forum.com/t/virtual-rails-installing-rails/192956/3 "2010-08-09T11:35:29Z")

</div>

On 9 August 2010 04:53, Rich d [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> You will be prompted for your password so be sure to get it right!
> 
> 1. Now let’s start installing Rails. First you’ll need RubyGems.  
> Download it this way:
> 
> wget [http://rubyforge.org/frs/download.php/5](http://rubyforge.org/frs/download.php/5) … 0.8.11.tgz
> 
> 1. Now unpack the RubyGems package:
> 
> tar -zxvf rubygems-0.8.11.tgz

There is no .exe installer. The .tgz file is like a .zip file, and it  
just contains the source code for RubyGems. The tutorial should give  
you instructions on how to then install that source code to your  
system; it’ll look something like:

$ cd rubygems-0.8.11  
$ sudo ruby setup.rb

Chris

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [August 9, 2010, 1:46pm UTC](https://www.ruby-forum.com/t/virtual-rails-installing-rails/192956/4 "2010-08-09T13:46:37Z")

</div>

Hi Rich,

You must have misunderstood the goal of virtualrails 🙂

All you try to install is _ **ALREADY** _ installed on virtualrails :  
ruby, rails, sqlite, rubygems, and so on…(see complete list of what  
is already in virtualrails here : [http://www.virtualrails.org/node/6](http://www.virtualrails.org/node/6)

So you can bypass the “installation and configuration” parts of your  
tutorials and start directly at “create a new rails application” !

cheers 🙂

Jérôme
