Starting IRB and interfacing with it...

C

Chris Bielinski

Hey,

I'm working on an IRC bot. I'd like to be able to open an IRB in a
thread or something and have everyone in the channel type in code and
the bot spit back the results. I'm pretty new to Ruby, so I was
wondering where I should start. Any ideas?

Chris
 
T

Timothy Goddard

Does it need to work via IRC? You need to be aware that there are
serious security issues with allowing other users to run executable
code on your machine. Could you just use something like Try Ruby
(http://tryruby.hobix.com/)?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,209
Messages
2,571,088
Members
47,687
Latest member
IngridXxj

Latest Threads

Top