[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Installation noob

Eric Stevens

5/25/2009 7:33:00 AM

Hi all,
I am attempting to get ruby and some gems up and working but am a
total noob to ruby.
First could someone clear up these basic questions:
when using the "gem update --system" "gem install watir" the
command line says gem is not recognized as an internal or external
command???
where do I navigate to before I type that command?
and to scrape an ajax web site (which is what I want to do) is
firewatir the gem I need?
Thx in advance... more questions to come
--
Posted via http://www.ruby-....

2 Answers

Brian Candler

5/25/2009 8:39:00 AM

0

Eric Stevens wrote:
> command line says gem is not recognized as an internal or external
> command???
> where do I navigate to before I type that command?

You don't have rubygems installed - so you need to install it. The best
way to do that depends on what platform you are on. (Windows? OSX?
Linux? Which version?)

For example: Ubuntu Linux normally would be "sudo apt-get install
rubygems"
--
Posted via http://www.ruby-....

Janos Sebok

5/25/2009 2:30:00 PM

0

The error messages implies you are using Windows.

Perhaps you don't have the Ruby/bin dir (where the gem executable is) in
your PATH environment variable?


On Mon, May 25, 2009 at 9:32 AM, Eric Stevens <skyjunkie18@yahoo.com> wrote=
:

> Hi all,
> I am attempting to get ruby and some gems up and working but am a
> total noob to ruby.
> First could someone clear up these basic questions:
> when using the "gem update --system" "gem install watir" the
> command line says gem is not recognized as an internal or external
> command???
> where do I navigate to before I type that command?
> and to scrape an ajax web site (which is what I want to do) is
> firewatir the gem I need?
> Thx in advance... more questions to come
> --
> Posted via http://www.ruby-....
>
>


--=20
=DCdv,
Sebi