# How to tell Scite where Ruby is located

**URL:** <https://www.ruby-forum.com/t/how-to-tell-scite-where-ruby-is-located/153330>\
**Category:** Ruby\
**Created:** [November 14, 2008, 11:53pm UTC](https://www.ruby-forum.com/t/how-to-tell-scite-where-ruby-is-located/153330 "2008-11-14T23:53:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex-osu3](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/13edae/32.png) [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Post date:** [November 14, 2008, 11:53pm UTC](https://www.ruby-forum.com/t/how-to-tell-scite-where-ruby-is-located/153330/1 "2008-11-14T23:53:07Z")

</div>

Hi all,

I install Ruby to a new place instead of the default path, and I can’t  
set Ruby’s path from within system’s enviroment variables due to  
write/read restriction on the computer. How can I tell Scite where Ruby  
is located so that I still use Ruby?

Thanks,

Li

---

<div class="post-metadata">

**Author:** ![alex-osu3](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/13edae/32.png) [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Post date:** [November 15, 2008, 12:00am UTC](https://www.ruby-forum.com/t/how-to-tell-scite-where-ruby-is-located/153330/2 "2008-11-15T00:00:42Z")

</div>

> I install Ruby to a new place instead of the default path, and I can’t  
> set Ruby’s path from within system’s enviroment variables due to  
> write/read restriction on the computer. How can I tell Scite where Ruby  
> is located so that I still use Ruby?

Options -\> Open ruby.properties -\>

if PLAT\_WIN  
command.go.\*.rb=c:/cygwin/usr/local/bin/ruby1.9 $(FileNameExt)

HTH!

---

<div class="post-metadata">

**Author:** ![alex-osu3](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/13edae/32.png) [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Post date:** [November 15, 2008, 12:16am UTC](https://www.ruby-forum.com/t/how-to-tell-scite-where-ruby-is-located/153330/3 "2008-11-15T00:16:53Z")

</div>

Phlip wrote:

> > I install Ruby to a new place instead of the default path, and I can’t  
> > set Ruby’s path from within system’s enviroment variables due to  
> > write/read restriction on the computer. How can I tell Scite where Ruby  
> > is located so that I still use Ruby?
> 
> Options -\> Open ruby.properties -\>
> 
> if PLAT\_WIN  
> command.go.\*.rb=c:/cygwin/usr/local/bin/ruby1.9 $(FileNameExt)
> 
> HTH!

Hi,

Thank you very much.

I change the line to the following and it works:

if PLAT\_WIN  
command.go.\*.rb=C:/Documents and Settings/chen73/My  
Documents/Ruby/bin/ruby.exe $(FileNameExt)

Li
