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

Am 03.08.2010 12:52, schrieb Priyank Shah:
> Roger Pack 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 Shah

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/

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