On Sat, Sep 27, 2008 at 12:31:32PM -0500, Yvette Davis wrote:
> Hi everyone, 
> 
> I've downloaded and installed Ruby and Rails to my Linux laptop using
> the command terminal. 
> 
> 
> It says to go to the command prompt start a new Rails application using
> the <tt>rails</tt> command
>    and your application name. Ex: rails myapp
> 



> here's what I've put in along with the resulting error messages.
> newrailsapp is the name of the folder which contains rails. Ruby is in
> another folder, I think. It didn't ask me where to put either when I
> downloaded and installed from the command prompt, so I did a 'whereis'
> to find them.

It helps if you mention which Linux distribution you're using  (Also
whichever version you have, it probably has its own package for Ruby and
Rails.  As different distributions have different ways of doing things,
it's often much easier to use the precompiled package.  
Then it tends to put them in the right place. 

So, I would start by seeing where rails is installed.  Is it in
/usr/local/bin, /usr/bin, or somewhere like that?  

Judging by the instructions, it should be installed somewhere that the
system expects--somewhere in your $PATH, that is, where the system looks
for executable programs. 

I would start with 
whereis rails

That will let you know if the system sees the program or not. 

If you get something like no rails found in blah blah, then, assuming
you're in the directory where the rails executable is, you might try

./rails <appname>

I'm not familiar with ruby and rails, so the above are just guesses, but
that is how most programs work.  


-- 
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Xander: And this...is called a snack food.
Ampata: Snack food?
Xander: Yeah. It's a delicious, spongy, golden cake stuffed with a
delightful,
creamy white substance of goodness.


Xander: And the exciting part is that they have no ingredients that a
human
can pronounce, so it doesn't leave you with that heavy food feeling in
your
stomach.

------------------------------------

To unsubscribe from this list, please email [EMAIL PROTECTED] & you will be 
removed.Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/LINUX_Newbies/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/LINUX_Newbies/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to