From: fREW Date: 2007-06-09T06:11:59+09:00 Subject: Re: trouble running ruby programs On 6/8/07, Jacob Gillie wrote: > No... When I open command prompt it says C:\Documents and > Settings\Jacob>(which is the folder I have the program in) > > And then I type > > ruby ri20min.rb > > and it does nothing. > > The bin folder is in c:\ruby\bin, but I really don't know how to go up a > folder. > It might help if I actually knew HOW to use the command prompt... TO THE > HELP MANUAL!!! > > -- > Posted via http://www.ruby-forum.com/. > > Maybe you should write a super simple ruby program and test with that. Your program might have no output or something. Try test.rb -- #!/usr/bin/ruby puts "Station!" -- and do ruby test.rb if it does nothing after that, then you know it must have something to do with your commandline. Also, if you feel like cheating you could either put getc() at the end of every program (it will wait till you type something to go away.) or make a wrapper that will do something like: `ruby #{file}` getc() That way your sourcecode is not stuck in Borland C++ mode. Also, the above code does not work. But there is surely a way to do it. -- -fREW