From: Dd Dd Date: 2010-11-15T18:37:46+09:00 Subject: Can't get Ruby programs to work from Command Prompt Hello; I'm having a problem running Ruby programs through the command prompt. I have a Ruby program called scope.rb, which is a simple oscilloscope which runs using an Arduino platform, and I enter "ruby scope.rb", but I get the following message (the file is in the bin folder: ruby 1.9.2p0 (2010-08-18) [i386-mingw32] C:\Users\Deepak>cd Ruby192 C:\Users\Deepak\Ruby192>cd bin C:\Users\Deepak\Ruby192\bin>ruby scope.rb :29:in `require': no such file to load -- tk (LoadError) from :29:in `require' from scope.rb:1:in `
' When entering just "scope" or "scope.rb", I of course get a text file of the code. The problem is that the Ruby is installed as part of the Path variable, yet I still get these errors. The Path variable is as follows: "C:\Users\Deepak\Ruby192\bin;%CommonProgramFiles%\Microsoft Shared\Windows Live". Is there a problem with the Path syntax? Any help would be appreciated. Thank you. -- Posted via http://www.ruby-forum.com/.