try reinstalling, and/or right click on them -> "open wish", choose
SciTe, check the "always open with" checkbox.
GL.
-r
I believe you are under impression that I am not able to open file with
SCITE editor but the actual problem is if I am saving the .rb file and
trying to run the code by 'F5' button then it gives me error 'the system
cannot find the file specified.'
--
Posted via http://www.ruby-forum.com/.
SOunds like the new install didn't add your ruby bin dir to the path
I think you can also edit the ruby properties file (in SciTe) to give
the full path to ruby.exe
I suppose your script directory path or the script name itself contains
whitespace. SciTE can cope with that, just open the Ruby options file
(you'll have to be root on Linux systems) via SciTEs Options -> Edit
Properties -> Open Ruby properties menu and change the entry
command.go.*.rb=ruby $(FileNameExt)
to
command.go.*.rb=ruby "$(FileNameExt)"
Note the quotes.
There are two entries, one for the GTK platform and one for Windows,
choose that one apropriate for you.
Marvin
You've to restart SciTE afterwards.
What about pathnames without spaces? Try placing a script directly as
C:\myscript.rb and then run it from inside SciTE. Does this work?
> SOunds like the new install didn't add your ruby bin dir to the path
Yeah, that's also possible. Type "ruby -v" in cmd and post the output.
Marvin
ruby.exe is most likely not in your path then. Reinstall ruby and
reboot :)
-r
For your kind help as the issue is resolved after successfull
re-installment of Ruby.