Running ruby app with instant rails

0 views
Skip to first unread message

Steve Layman

unread,
Apr 1, 2008, 4:50:14 PM4/1/08
to rubyonra...@googlegroups.com
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..
--
Posted via http://www.ruby-forum.com/.

James Dinkel

unread,
Apr 1, 2008, 7:02:58 PM4/1/08
to rubyonra...@googlegroups.com
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".

Reply all
Reply to author
Forward
0 new messages