From: "Stephan Kämper" Date: 2005-07-21T18:55:56+09:00 Subject: Re: Seting up Ruby on XP (HELL)p Hi, Leevi Graham wrote: > The problem i am having is installing rails.. Currently after installing > rails i type into the command line: > > |gem install rails --remote > > which returns the error: > > 'gem' is not recognized as an internal or external command, operable > program or batch file. > > if i navigate to %/ruby/bin and type ||gem install rails --remote rails > will install... however i the have to create and run every application > form the ruby/bin directory. I mamanged to set up ruby and ruby on rails > on another box which creates a new rails app where ever i call "rails > newAppFolder", so i know its possible > > any ideas... > That sounds as if your PATH environment variable isn't set properly. At a command line try echo %PATH% or perhaps with a nicer output and using Ruby: ruby -e 'puts ENV["PATH"].split( ";" )' "\ruby\bin" should be in that list, I think. Hope that helps Happy rubying Stephan