Re: [scite] Anybody downloaded the scite from app store and tried to execute ruby code in mac?

58 views
Skip to first unread message

Neil Hodgson

unread,
Sep 21, 2012, 8:39:36 PM9/21/12
to scite-i...@googlegroups.com
Abdullah Jubayer:

> I wrote a small piece of code in ruby and when I tried to run it, I found out that the Go button from the tool menu is grey and not clickable. I then made sure I was giving access to Scite the required directory. Later I wrote another piece of code but this time in python and it works. Anybody encountered this problem that why ruby code is not being executed? I pressed F5 but nothing happens.

The Go command uses the command.go.<pattern> property. For Ruby this is likely command.go.*.rb. This isn't defined for PLAT_MAC in ruby.properties but the PLAT_GTK settings may work. Copy them into your user properties since ruby.properties will be overwritten each time SciTE is updated.

Neil

Abdullah Jubayer

unread,
Sep 27, 2012, 9:27:01 AM9/27/12
to scite-i...@googlegroups.com, nyama...@me.com
Thankyou Neil! I added the Plat_Mac in ruby.properties and it is working. :)

Neil Hodgson

unread,
Sep 27, 2012, 8:16:46 PM9/27/12
to scite-i...@googlegroups.com
Abdullah Jubayer:

> Thankyou Neil! I added the Plat_Mac in ruby.properties and it is working. :)

That'll be included in the next release.

Maybe there should be a PLAT_UNIX definition that is true for both GTK+/Linux and OS X. Command line programs are mostly quite similar.

Neil

Reply all
Reply to author
Forward
0 new messages