# Scite

**URL:** <https://www.ruby-forum.com/t/scite/192566>\
**Category:** Ruby\
**Created:** [August 2, 2010, 10:07am UTC](https://www.ruby-forum.com/t/scite/192566 "2010-08-02T10:07:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pshah](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a698b9/32.png) [@pshah](https://www.ruby-forum.com/u/pshah)\
**Post date:** [August 2, 2010, 10:07am UTC](https://www.ruby-forum.com/t/scite/192566/1 "2010-08-02T10:07:00Z")

</div>

hi,

I want seperate use of scite so i taken the source and scite editor run  
but

i cannot able to execute any ruby script.

I have not installed it with ruby. I had taken source seperatly and run  
scite application.

Please let me know if any of you have any idea.

Thanks,  
Priyank S.

---

<div class="post-metadata">

**Author:** ![pshah](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a698b9/32.png) [@pshah](https://www.ruby-forum.com/u/pshah)\
**Post date:** [August 2, 2010, 1:21pm UTC](https://www.ruby-forum.com/t/scite/192566/2 "2010-08-02T13:21:50Z")

</div>

> i cannot able to execute any ruby script.

is ruby.exe in your path?

---

<div class="post-metadata">

**Author:** ![pshah](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a698b9/32.png) [@pshah](https://www.ruby-forum.com/u/pshah)\
**Post date:** [August 3, 2010, 12:52pm UTC](https://www.ruby-forum.com/t/scite/192566/3 "2010-08-03T12:52:54Z")

</div>

Roger P. wrote:

> > i cannot able to execute any ruby script.
> 
> is ruby.exe in your path?

hi,

Thanks for reply.

But i can’t got it where you want to say to set the the path.

i can run script from command prompt using ruby commnad.

But i have separat scite editor which i had download and run it but in  
that,

script is not run.

Thanks,  
Priyank S.

---

<div class="post-metadata">

**Author:** ![pshah](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a698b9/32.png) [@pshah](https://www.ruby-forum.com/u/pshah)\
**Post date:** [August 3, 2010, 2:30pm UTC](https://www.ruby-forum.com/t/scite/192566/4 "2010-08-03T14:30:04Z")

</div>

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA1

Am 03.08.2010 12:52, schrieb Priyank S.:

> i can run script from command prompt using ruby commnad.
> 
> But i have separat scite editor which i had download and run it but in  
> that,
> 
> script is not run.
> 
> Thanks,  
> Priyank S.

Does your script name and/or directory name contain spaces? SciTE has  
problems managing whitespace characters in its default settings. Open up  
your Ruby properties file (Options → Edit properties → Open  
ruby.properties) and look for the lines saying

command.go._.rb=ruby $(FileNameExt)  
command.go._.rbw=rubyw $(FileNameExt)

. Note that they appear twice, once for GTK and once for Windows. Choose  
the one according to your platform and change them to:

command.go._.rb=ruby “$(FileNameExt)”  
command.go._.rbw=rubyw “$(FileNameExt)”

You could also make Ruby display warnings by default. Use:

command.go._.rb=ruby -w “$(FileNameExt)”  
command.go._.rbw=rubyw -w “$(FileNameExt)”

Restart SciTE after the modifications.  
If that doesn’t do it, please post the error you’re getting.

Vale,  
Marvin  
-----BEGIN PGP SIGNATURE-----  
Version: GnuPG v1.4.10 (GNU/Linux)  
Comment: Using GnuPG with Mozilla - [http://enigmail.mozdev.org/](http://enigmail.mozdev.org/)

iEYEARECAAYFAkxYC5sACgkQDYShvwAbcNkKGwCfRDvqQA1uFCeUC56MOxpDr5Gk  
DJgAn0WGtyfhLG4No2O2jRUFuxJWKAHc  
=0Q3Y  
-----END PGP SIGNATURE-----
