From: Jon Dean Date: 2006-05-18T13:26:34+09:00 Subject: Re: ruby/gnuplot on windows jon dean wrote: > unknown wrote: >> Dear Jon, >> >>> I have always used windows and am not very familiar with Unix. How much >>> of a learning curve would there be to use cygwin? >> >> Well, to obtain a working gnuplot installation of Gnuplot and Cygwin, >> it should be sufficient that you download the setup.exe file from the >> website, which guides you through some Windows-typical setup >> process. If you have enough space on your computer, choose >> everything there is , if you have a limited amount of space, >> be sure to choose the developer tools, including the compiler 'gcc' >> and 'make', as well as Gnuplot and of course, Ruby. >> Then run the GUI installation. This will give you two icons on your >> desktop, named "Cygwin" and "Cygwin XFree86". Click any of these. >> This opens a console window. >> Now, you can run ruby scripts by entering something like >> >> ruby myfile.rb >> >> there. Or, you can use Gnuplot: >> >> gnuplot myplot.plt >> >> That should be all for a start. >> > >> Hi Axel, I installed cygwin and included the 'gcc', 'make', 'gnuplot' and 'ruby'. I opened the console window and am stuck at that point. If I want to run a ruby program: ruby myfile.rb where does myfile.rb have to be? In windows I would set the path to the directory that the file is located. So I put the myfile.rb file into one of the directories in c:\cygwin, changed the directory path to match and got: ruby myfile.rb ruby: no such file to load -- ubygems (load error) Any suggestions to get me started. I think if I had an example I would be able to work from there. Jon -- Posted via http://www.ruby-forum.com/.