Prev: How to remove leading from string
Next: [ANN] io_splice 2.2.0 - updates for Linux 2.6.35
From: Priyank Shah on 2 Aug 2010 04:07 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 Shah -- Posted via http://www.ruby-forum.com/.
From: Roger Pack on 2 Aug 2010 07:21 > i cannot able to execute any ruby script. is ruby.exe in your path? -- Posted via http://www.ruby-forum.com/.
From: Priyank Shah on 3 Aug 2010 06:52 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 -- Posted via http://www.ruby-forum.com/.
From: Quintus on 3 Aug 2010 08:29 -----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-----
|
Pages: 1 Prev: How to remove leading from string Next: [ANN] io_splice 2.2.0 - updates for Linux 2.6.35 |