<<help with installing rails with ruby gems>>

ok so i am running virtual machine with virtual rails on my
laptop…OS is Linux Mint…I have followed the steps in the tutorial
and this is what I’ve done so far:

sudo apt-get install ruby ruby1.8-dev irb
sudo apt-get install sqlite3

next I attempted to install rails by typing in the following:
wget http://rubyforge.org/frs/download.php/5...0.8.11.tgz

the following message is what i got:

wget http://rubyforge.org/frs/download.php/5...0.8.11.tgz
–2010-08-13 04:59:59–
http://rubyforge.org/frs/download.php/5...0.8.11.tgz
Resolving rubyforge.org… 205.234.109.19
Connecting to rubyforge.org|205.234.109.19|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 0 [text/html]
Saving to: `5…0.8.11.tgz’

next I attempted to unpack the ruby gems by typing the following:
tar -zxvf rubygems-0.8.11.tgz

this is where Im stuck…I got the following message and dont know what
to do…keep in mind I am a novice at this and dont know anything
about ROR… I am learning on my own

tar -zxvf rubygems-0.8.11.tgz
tar: rubygems-0.8.11.tgz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Exiting with failure status due to previous errors

Hi Rich,

there is several things to say about your question :

  1. if, like I think, your running VirtualRails, you DON’T have to
    install Ruby, SQLite, RubyGems and Rails : they ARE ALREADY INSTALLED
    that is all the interest of using VirtualRails : all is there, you
    just have to start développing Rails Apps.
    Find in your turorial the part that say “créate en new rails
    application” with the “rails my_application_name” command :slight_smile:

  2. For your particular tar problem, the error message is explicit :
    “No such file or directory”
    The name you gave to the tar command doesn’t correspond to a file. It
    must be the same name that the one you gave to the wget command.
    in you message you say you have donne this :
    wget http://rubyforge.org/frs/download.php/5...0.8.11.tgz (here the
    filename is “5…0.8.11.tgz”…by the way, what is this file,
    “5…0.0.11.tgz” ?)
    tar -zxvf rubygems-0.8.11.tgz (here the filename is
    “rubygems-0.8.11.tgz”)

keep trying :slight_smile:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs