Running ruby app with instant rails

Hi, I am new to ruby and using instant rails to run a simple app I wrote. The application is not recognized as a ruby app. Even when I open it up with the rails console, it asks what program to open it with. How do I associate .rb files with ruby?

Thanks..

Steve Layman wrote:

Hi, I am new to ruby and using instant rails to run a simple app I wrote. The application is not recognized as a ruby app. Even when I open it up with the rails console, it asks what program to open it with. How do I associate .rb files with ruby?

Thanks..

You need to type "ruby filename.rb" to run your ruby scripts. Also, when you double-click a .rb file, it should ask you to choose a program. Browse for the Ruby interpreter and check "always use this".