-1

I am looking for some free light-weight GUI alternative for IRB console on windows. What I whould like to see:

  1. Area to write a script (so I can edit, run, edit...)
  • Command line to play with current variables
  • Output window to see results
  • Intellisence
  • Breakpoints/debugging is a plus

Actually, some thing similar to powershell_ise.exe whould be great.

Powershell ISE
(source: microsoft.co.il)

P.S. I am not looking for IDE (NetBeans, Aptana, etc.)

Glorfindel
  • 21,988
  • 13
  • 81
  • 109
alex2k8
  • 42,496
  • 57
  • 170
  • 221
  • You have an odd definition of lightweight. What's wrong with IRB? It could be adapted to do most (if not all of those). – rampion Apr 10 '09 at 12:58
  • One of my students was using something like this the other day. Don't know what it was though. – Matthew Schinckel Apr 10 '09 at 13:02
  • @rampion. Point 1 is missed. Also, for some reason, after some time arrow keys stop working. – alex2k8 Apr 10 '09 at 15:37
  • how would you feel about bimodal - flip back and forth from your script to the irb interface? It'd be pretty easy to add an 'edit' command to irb. Plus, irb can already use 'load' to run arbitrary files. – rampion Apr 13 '09 at 12:56

2 Answers2

1

How does SciTE fail? Kinda curious because it feels like what you are looking for if you are working from a file. Ctrl-F5 executes, etc.

Sam
  • 2,939
  • 19
  • 17
  • Hm.. With 'ruby-debug' it seems to be pretty powerfull. Thought, one strange thing happens. When I invoke debugger and type some thing, the letters are duplicated. (rdb:1) bbaarr. Don't you you have an idea? – alex2k8 Apr 10 '09 at 15:01
  • Hey Alex. Unfortunately, no. I typically either use irb raw from the command line (in which case I've not experienced duplicate echo) or I put my text into a file and copy-past to irb or just run the file. Sorry! – Sam Apr 14 '09 at 18:14
0

Have a look at e-texteditor.

It isn't a full IDE, but it allows you to execute Ruby code, and either put the input inline, after a #=> comment, or into a new window.

You get some of what you want, not so much the debugger and console. But the run-inline thing helps out a bit there.

It is based on TextMate, which is just fantastic. But OS X only. Oh, and it costs money.

Matthew Schinckel
  • 35,041
  • 6
  • 86
  • 121