From: John Pasqa Date: 2010-02-27T10:30:53+09:00 Subject: running a file ok, i'm writing a ruby program that interprets some text and does stuff with it, but thats not what i'm here to ask about. What I want to know is how would I make it so the user can right-click and open a file with my program. Just like how if you right click a .rb file you can run it with the ruby MRI. All I need is to get the text in the file into a variable in the program when the user opens it. Any suggestions? Thanks John -- Posted via http://www.ruby-forum.com/.