From: Sanjeev Oza on 17 Feb 2010 02:35 I have re-installed Ruby on my pc and run some rb files but these files are not giving any output rather gives error 'The system cannot find the file specified.' The same files were working before re-installation but are not working later. Please help... -- Posted via http://www.ruby-forum.com/.
From: Roger Pack on 17 Feb 2010 08:17 Sanjeev Oza wrote: > I have re-installed Ruby on my pc and run some rb files but these files > are not giving any output rather gives error 'The system cannot find the > file specified.' The same files were working before re-installation but > are not working later. Please help... try reinstalling, and/or right click on them -> "open wish", choose SciTe, check the "always open with" checkbox. GL. -r -- Posted via http://www.ruby-forum.com/.
From: Sanjeev Oza on 17 Feb 2010 09:03 Thanks Roger for your comments, 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/.
From: Chris Hulan on 17 Feb 2010 09:20 On Feb 17, 9:03 am, Sanjeev Oza <sanjeev....(a)patni.com> wrote: > Thanks Roger for your comments, > > 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 viahttp://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
From: Marvin Gülker on 17 Feb 2010 09:27 Sanjeev Oza wrote: > Thanks Roger for your comments, > > 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.' 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 -- Posted via http://www.ruby-forum.com/.
|
Next
|
Last
Pages: 1 2 Prev: Running both Ruby 1.8 and 1.9 on same windows machine Next: Ruby 1.9 and RMagick |