# Ruby 1.8.7 and1.9.1 installation problems

**URL:** <https://www.ruby-forum.com/t/ruby-1-8-7-and1-9-1-installation-problems/189050>\
**Category:** Ruby\
**Created:** [May 23, 2010, 9:14am UTC](https://www.ruby-forum.com/t/ruby-1-8-7-and1-9-1-installation-problems/189050 "2010-05-23T09:14:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![d\_v](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e480ec/32.png) [@d\_v](https://www.ruby-forum.com/u/d_v)\
**Post date:** [May 23, 2010, 9:14am UTC](https://www.ruby-forum.com/t/ruby-1-8-7-and1-9-1-installation-problems/189050/1 "2010-05-23T09:14:36Z")

</div>

Hi all  
I’m running on my machine vindows vista home and ajust can not install  
ruby 1.8.7 or 1.9.1 on my machine.  
I used window-installer for this ruby release but after installing i can  
not install any gems like rails or wxruby . After tipping in cmd : gem  
install rails,it sais gem is not a internal or external command.  
What to do to make ruby to work??

---

<div class="post-metadata">

**Author:** ![d\_v](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e480ec/32.png) [@d\_v](https://www.ruby-forum.com/u/d_v)\
**Post date:** [May 23, 2010, 9:40am UTC](https://www.ruby-forum.com/t/ruby-1-8-7-and1-9-1-installation-problems/189050/2 "2010-05-23T09:40:50Z")

</div>

On 23.05.2010 09:14, Picky M. wrote:

> Hi all  
> I’m running on my machine vindows vista home and ajust can not install  
> ruby 1.8.7 or 1.9.1 on my machine.  
> I used window-installer for this ruby release but after installing i can  
> not install any gems like rails or wxruby . After tipping in cmd : gem  
> install rails,it sais gem is not a internal or external command.  
> What to do to make ruby to work??

Just guessing here: you may have to manually put the command’s location  
in your PATH environment variable.

Kind regards

robert

---

<div class="post-metadata">

**Author:** ![d\_v](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e480ec/32.png) [@d\_v](https://www.ruby-forum.com/u/d_v)\
**Post date:** [May 23, 2010, 8:26pm UTC](https://www.ruby-forum.com/t/ruby-1-8-7-and1-9-1-installation-problems/189050/3 "2010-05-23T20:26:27Z")

</div>

On May 23, 4:14 am, Picky M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi all  
> I’m running on my machine vindows vista home and ajust can not install  
> ruby 1.8.7 or 1.9.1 on my machine.

Did you use the installers from here?

> **[RubyInstaller for Windows](https://rubyinstaller.org/)**
>
> The easy way to install Ruby on Windows This is a self-contained Windows-based installer that includes the Ruby language, an execution environment, important...

Did you check the option during installation to “Add Ruby executable  
to PATH”?

> I used window-installer for this ruby release but after installing i can  
> not install any gems like rails or wxruby . After tipping in cmd : gem  
> install rails,it sais gem is not a internal or external command.

I’m not aware of any Window-installer, you refer to RubyInstaller?  
Please see my previous comment about the lack of checking the box  
during installation.

Even if you don’t added to the path, you can start a personalized  
command prompt from the application folder named “Command Prompt with  
Ruby 1.8.7”

HTH,

---

<div class="post-metadata">

**Author:** ![d\_v](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e480ec/32.png) [@d\_v](https://www.ruby-forum.com/u/d_v)\
**Post date:** [May 24, 2010, 3:34am UTC](https://www.ruby-forum.com/t/ruby-1-8-7-and1-9-1-installation-problems/189050/4 "2010-05-24T03:34:55Z")

</div>

I use Ubutu, but since I have been using windows before here are some  
tips. Goto command prompt type:  
ruby -v  
if you get something like this:  
ruby 1.8.7 (2010-01-10 patchlevel 249) [i486-linux]  
You have installed Ruby successfully.

To install gem click this link:  
[http://rubyforge.org/frs/download.php/70697/rubygems-1.3.7.zip](http://rubyforge.org/frs/download.php/70697/rubygems-1.3.7.zip) , once  
you have downloaded it, extract it, navigate to the extracted directory  
with your command prompt and type ruby setup.rb

I hope things will work fine.

On Sun, 2010-05-23 at 16:14 +0900, Picky M. wrote:

> Hi all  
> I’m running on my machine vindows vista home and ajust can not install  
> ruby 1.8.7 or 1.9.1 on my machine.  
> I used window-installer for this ruby release but after installing i can  
> not install any gems like rails or wxruby . After tipping in cmd : gem  
> install rails,it sais gem is not a internal or external command.  
> What to do to make ruby to work??

Regards  
A.K.Karthikeyan,  
Prop. Mind As Lab  
[http://mindaslab.in](http://mindaslab.in)
