pshah
August 2, 2010, 10:07am
1
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.
pshah
August 2, 2010, 1:21pm
2
i cannot able to execute any ruby script.
is ruby.exe in your path?
pshah
August 3, 2010, 12:52pm
3
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.
pshah
August 3, 2010, 2:30pm
4
-----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/
iEYEARECAAYFAkxYC5sACgkQDYShvwAbcNkKGwCfRDvqQA1uFCeUC56MOxpDr5Gk
DJgAn0WGtyfhLG4No2O2jRUFuxJWKAHc
=0Q3Y
-----END PGP SIGNATURE-----