sciTE-Go option greyed out

T

Tara Keane

I'm using sciTE editor, I've selected Ruby as the language and I've
saved my code but the F5 option Go under Tools menu is greyed out (as is
build and compile).
It worked yesterday and I'm confused.
Any suggestions welcome...
 
Q

Quintus

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

Am 21.10.2010 12:54, schrieb Tara Keane:
I'm using sciTE editor, I've selected Ruby as the language and I've
saved my code but the F5 option Go under Tools menu is greyed out (as is
build and compile).
It worked yesterday and I'm confused.
Any suggestions welcome...

You can always start your Ruby script from the commandline via "ruby
your_script.rb". (I additionally recommend passing -w to ruby in order
to display warnings)

I once ran into the same problem and I think that had to do with spaces
in the path the script was placed in. However, I'm not sure about this.
Try configuring your Ruby properties file (Options -> Edit Properties ->
Open ruby.properties) so that it looks like this at the bottom:
===========================
if PLAT_WIN
command.go.*.rb=ruby -w "$(FileNameExt)"
command.go.subsystem.*.rb=1
command.go.*.rbw=rubyw "$(FileNameExt)"
command.go.subsystem.*.rbw=1

if PLAT_GTK
command.go.*.rb=ruby -w "$(FileNameExt)"

command.name.1.*.rb=Check Syntax
command.1.*.rb=ruby -cw "$(FileNameExt)"

command.name.2.*.rb=Code Profiler
command.2.*.rb=ruby -rprofile "$(FileNameExt)"
===========================

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

iQEcBAEBAgAGBQJMwDgnAAoJEGrS0YjAWTKVtn0H/Rf4g9SvLsH91U10PFsQ8UgO
GNyWHFGJw8HSs+qrpIosAG4OU1liJbKALoU7MgCBKCD/d11DM5D7Wu3sHGK6oU2H
1znTQiXsmftiXRggPX5O+V8WqptD5U452uOKiqTGaVGXw8mDMhOgo4bq/6kE2DjZ
BJt6kGnipKCDdeCOG79lfJNmqd3RH4w5c7gAPoBX48Q0MrhSr2t1vsQ8kjUj94D/
jTZnpbYrToPcjVo9jsnNA1eFIyWfKAowW8JZ/1KZC7WpC9xhIbIs3G7LVVEbl0N8
1Si4SaClABqyqpmTrGC4fqDWBILVZLasiloDFJK2TOhqcpBrVYtKu2ivps8H48k=
=3olL
-----END PGP SIGNATURE-----
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top