# SciTE and 1.8.6

**URL:** <https://www.ruby-forum.com/t/scite-and-1-8-6/112247>\
**Category:** Ruby\
**Created:** [August 16, 2007, 8:09pm UTC](https://www.ruby-forum.com/t/scite-and-1-8-6/112247 "2007-08-16T20:09:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rorjeff](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b9e5f3/32.png) [@rorjeff](https://www.ruby-forum.com/u/rorjeff)\
**Post date:** [August 16, 2007, 8:09pm UTC](https://www.ruby-forum.com/t/scite-and-1-8-6/112247/1 "2007-08-16T20:09:54Z")

</div>

I installed Ruby 1.8.6 this morning. At first I  
thought my programs would no longer run in Windows. I  
now know that they will run from a command prompt but  
not thought SciTE. Anyone else had problems with  
SciTE V1.72 and Ruby 1.8.6?

Jeff

---

<div class="post-metadata">

**Author:** ![rorjeff](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/b9e5f3/32.png) [@rorjeff](https://www.ruby-forum.com/u/rorjeff)\
**Post date:** [August 16, 2007, 8:51pm UTC](https://www.ruby-forum.com/t/scite-and-1-8-6/112247/2 "2007-08-16T20:51:57Z")

</div>

On Aug 16, 1:07 pm, Jeffrey B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I installed Ruby 1.8.6 this morning. At first I  
> thought my programs would no longer run in Windows. I  
> now know that they will run from a command prompt but  
> not thought SciTE. Anyone else had problems with  
> SciTE V1.72 and Ruby 1.8.6?

Here are some things to check:

# make sure the path to ruby.exe is in your path system environment

variable  
C:\>path  
PATH=c:\ruby\ruby186\bin;C:\WINDOWS;C:\WINDOWS\System32\Wbem

# make sure .rb and .rbw are set in the pathext system environment

variable  
C:\>echo %pathext%  
.COM;.EXE;.BAT;.CMD;.RB;.RBW;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.tcl;.PSC1

# make sure the rubyopt system environment variable is set.

C:\>echo %rubyopt%  
-rubygems

# make sure the file associations are there.

C:\>assoc .rb  
.rb=rbFile

C:\>ftype rbfile  
rbfile=c:\ruby\ruby186\bin\ruby.exe “%0” %\*

# in Scite, open the ruby.properties file, and make sure the

command.go line looks like this:  
command.go.\*.rb=ruby $(FileNameExt)

# if it’s a problem with a system environment variable, make sure you

set it in the gui, and not with the set command. Otherwise the  
changes won’t persist.

Here’s some info on that: [How To Manage Environment Variables in Windows XP - Microsoft Support](http://support.microsoft.com/kb/310519)
