Installing ruby on rails

Hey,
I need to install ruby on rails. I have installed ruby and it says on a
site to type in gem install rails --remote. When i try this is what
happens:
I get the message:

C:>gem install rails --remote
‘gem’ is not recognized as an internal or external command,
operable program or batch file.

Could anyboy help??
Thanks
Chris

On 6/16/06, chris willis [email protected] wrote:

Hey,
I need to install ruby on rails. I have installed ruby and it says on a
site to type in gem install rails --remote. When i try this is what
happens:
I get the message:

Which Ruby did you install? It should have installed RubyGems and
added everything to the path. You may need to restart your computer.
You may also need to add the ruby directory to the path separately if
it still doesn’t work.

http://greenmeggsandspam.blogspot.com/2006/05/ruby-on-rails-jedit.html

That posting may help you figure out what might have gone wrong. :slight_smile:
It’s my recommended Windows setup.

-Curtis

chris willis wrote:

Hey,
I need to install ruby on rails. I have installed ruby and it says on a
site to type in gem install rails --remote. When i try this is what
happens:
I get the message:

C:>gem install rails --remote
‘gem’ is not recognized as an internal or external command,
operable program or batch file.

Could anyboy help??
Thanks
Chris

Hi, Try installing the ‘instantrails’ it contains everything in a single
package. Just unzip to a folder and you are ready…

http://instantrails.rubyforge.org/wiki/wiki.pl

Regards, Hari

On 6/16/06, chris willis [email protected] wrote:

Hey,
I need to install ruby on rails. I have installed ruby and it says on a
site to type in gem install rails --remote. When i try this is what
happens:
I get the message:

C:>gem install rails --remote
‘gem’ is not recognized as an internal or external command,
operable program or batch file.

You don’t have RubyGems installed. You have a few options:

  1. Download and install RubyGems from:
    http://rubyforge.org/frs/?group_id=126

  2. Blow away the Ruby that you installed and in its place installe the
    One-Click Ruby Installer for Windows (which does include RubyGems):
    http://rubyinstaller.rubyforge.org/

  3. Blow away the Ruby that you installed and instead install Instant
    Rails
    (which includes Ruby, RubyGems, Rails, and MySQL all in one
    preconfigured
    package):
    http://instantrails.rubyforge.org/

Curt

Check your %PATH% variable in a command prompt.
you need to have ruby/bin in the path.