Ruby GUI with IDE

Hello all,

I am currently looking for a good easy to use IDE that includes GUI
development as well. Something like how C++ has DevC++ that suppots
wxWidgets and allows you to code and create frames at the same time. I
want something like this for Ruby. I have found VisualWx which supports
Ruby but I could not seem to get it to work at all. Right now I'm having
to develop my frame using Farpy (http://farpy.holev.com/), export it,
and then add any additional code in another IDE. This slows down the
process by a lot because any changes I make to the GUI forces me to
export it again and manually make the changes to my original source.

So, my question is what's a good GUI toolkit that has a really nice IDE
that supports Ruby?

Cheers,
~ Josh

···

--
Posted via http://www.ruby-forum.com/.

Josh Mr. wrote:

Hello all,

I am currently looking for a good easy to use IDE that includes GUI development as well. Something like how C++ has DevC++ that suppots wxWidgets and allows you to code and create frames at the same time. I want something like this for Ruby. I have found VisualWx which supports Ruby but I could not seem to get it to work at all. Right now I'm having to develop my frame using Farpy (http://farpy.holev.com/\), export it, and then add any additional code in another IDE. This slows down the process by a lot because any changes I make to the GUI forces me to export it again and manually make the changes to my original source.

So, my question is what's a good GUI toolkit that has a really nice IDE that supports Ruby?

Cheers,
~ Josh
  

This should be a FAQ. :slight_smile: There are quite a few -- my favorite (on Linux) is Kommander/Korundum/QTRuby.

···

--

--
M. Edward (Ed) Borasky, FBG, AB, PTA, MS, MNLP, NST, ACMC(P)
http://borasky-research.blogspot.com/

If God had meant for carrots to be eaten cooked, He would have given rabbits fire.

M. Edward (Ed) Borasky wrote:

This should be a FAQ. :slight_smile: There are quite a few -- my favorite (on Linux)
is Kommander/Korundum/QTRuby.

--

--
M. Edward (Ed) Borasky, FBG, AB, PTA, MS, MNLP, NST, ACMC(P)
http://borasky-research.blogspot.com/

If God had meant for carrots to be eaten cooked, He would have given
rabbits fire.

I'm running Windows, any good ones for that?

···

--
Posted via http://www.ruby-forum.com/\.

AliasX Neo wrote:

M. Edward (Ed) Borasky wrote:

This should be a FAQ. :slight_smile: There are quite a few -- my favorite (on Linux)
is Kommander/Korundum/QTRuby.

--

--
M. Edward (Ed) Borasky, FBG, AB, PTA, MS, MNLP, NST, ACMC(P)
http://borasky-research.blogspot.com/

If God had meant for carrots to be eaten cooked, He would have given
rabbits fire.

I'm running Windows, any good ones for that?

The short answer: no.

The long answer:

If you manage to port qtruby4 to Windows, you get QtDesigner (overall
Qt4 seems to be designed to have the GUI layout created in that,
decoupling the UI design and behaviour implementations.) Things like
rubyuic should work the same on all platforms.

Another hope is the wx rewrite getting into a stable state, and wxGlade
supporting emitting of Ruby code. This is however just speculation.

Personally, if you need to do this sort of GUI development on Windows,
Ruby is so far rough around the edges.

David Vallner

David Vallner wrote:

The short answer: no.

The long answer:

If you manage to port qtruby4 to Windows, you get QtDesigner (overall
Qt4 seems to be designed to have the GUI layout created in that,
decoupling the UI design and behaviour implementations.) Things like
rubyuic should work the same on all platforms.

Another hope is the wx rewrite getting into a stable state, and wxGlade
supporting emitting of Ruby code. This is however just speculation.

Personally, if you need to do this sort of GUI development on Windows,
Ruby is so far rough around the edges.

David Vallner

That's what I figured, I guess I'm going to have to stick to ugly
command line programs.

Thanks anyways.

···

--
Posted via http://www.ruby-forum.com/\.

David Vallner wrote:

AliasX Neo wrote:
  

M. Edward (Ed) Borasky wrote:
    

This should be a FAQ. :slight_smile: There are quite a few -- my favorite (on Linux)
is Kommander/Korundum/QTRuby.

--

--
M. Edward (Ed) Borasky, FBG, AB, PTA, MS, MNLP, NST, ACMC(P)
http://borasky-research.blogspot.com/

If God had meant for carrots to be eaten cooked, He would have given rabbits fire.
      

I'm running Windows, any good ones for that?

The short answer: no.

The long answer:

If you manage to port qtruby4 to Windows, you get QtDesigner (overall
Qt4 seems to be designed to have the GUI layout created in that,
decoupling the UI design and behaviour implementations.) Things like
rubyuic should work the same on all platforms.
  

IIRC Caleb Tennis posted some encouraging words on this a couple of weeks ago. I don't do Windows development, so I haven't even attempted to make this work.

Another hope is the wx rewrite getting into a stable state, and wxGlade
supporting emitting of Ruby code. This is however just speculation.

Personally, if you need to do this sort of GUI development on Windows,
Ruby is so far rough around the edges.
  

Well, there's always CygWin <ducking>

But seriously, both the One-Click Installer and Instant Rails contain FreeRide and the dependencies FXRuby and Fox. If you don't mind spending some money, some combination of the ActiveState tool set (ActiveTcl, Komodo 4, etc.) and the One-Click Installer or Instant Rails ought to be workable. So should the Sapphire In Steel IDE that hooks into Visual Studio. I don't know what shape the various Ruby/CLR projects are in, so I can't comment on them. jRuby 1.0 will probably be better than any of them, but I don't know how long it will be till that release.

···

--
M. Edward (Ed) Borasky, FBG, AB, PTA, PGS, MS, MNLP, NST, ACMC(P)
http://borasky-research.blogspot.com/

If God had meant for carrots to be eaten cooked, He would have given rabbits fire.

Well, there's always CygWin <ducking>

But seriously, both the One-Click Installer and Instant Rails contain
FreeRide and the dependencies FXRuby and Fox. If you don't mind spending
some money, some combination of the ActiveState tool set (ActiveTcl,
Komodo 4, etc.) and the One-Click Installer or Instant Rails ought to be
workable. So should the Sapphire In Steel IDE that hooks into Visual
Studio. I don't know what shape the various Ruby/CLR projects are in, so
I can't comment on them. jRuby 1.0 will probably be better than any of
them, but I don't know how long it will be till that release.

You lost me there with the combination of ActiveState tools.

···

--
Posted via http://www.ruby-forum.com/\.

IIRC Caleb Tennis posted some encouraging words on this a couple of weeks ago. I don't do Windows development, so I haven't even attempted to make this work.

The word on the street is that it works, with a little coercion. It sounds like the biggest issue is the build system, which was designed for *nix.

I haven't verified because I'm not familiar with Windows development and am too covered up to go down that path. I think Richard's in the same boat.

We just need someone to figure out what needs to be done and tidy up the process. :slight_smile:

Caleb

There seems to be a few IDEs for Ruby GUIs in Windows or Linux, if
anyone has tried them, comments are welcome!, so here they are with
some initial comments added:

Komodo 4 Beta
http://www.activestate.com/products/komodo/beta.plex
Probably one of the best of the lot, actively developed but it only
integrates TK support. GUI tools available with the professional
version only.

BlackAdder
http://www.thekompany.com/products/blackadder/index.php3
It integrates QT and an IDE for Ruby or Python. It is Commercial, but
how good is it? Never tried it before.

Eric IDE
http://www.die-offenbachs.de/detlev/eric.html
Open source, looks unpolished.

Ruby in Steel
http://www.sapphiresteel.com/
You need VS2005 for it to work, but looks promising. Windows only.
Free for the time being, but will be commercial, and you do need VS2005
for it to work.

Finally... if you seriously want to do "cross-platform" development,
probably using C++ and QT is the best bet, not free, BUT solid, fast
and there are a lot of successful desktops app out there built with it.
Ruby seems better suited for Web apps, at least for the time being.

Joseph Hurtado
Web Developer
from Toronto

AliasX Neo wrote:

···

David Vallner wrote:
>
> The short answer: no.
>
> The long answer:
>
> If you manage to port qtruby4 to Windows, you get QtDesigner (overall
> Qt4 seems to be designed to have the GUI layout created in that,
> decoupling the UI design and behaviour implementations.) Things like
> rubyuic should work the same on all platforms.
>
> Another hope is the wx rewrite getting into a stable state, and wxGlade
> supporting emitting of Ruby code. This is however just speculation.
>
> Personally, if you need to do this sort of GUI development on Windows,
> Ruby is so far rough around the edges.
>
> David Vallner

That's what I figured, I guess I'm going to have to stick to ugly
command line programs.

Thanks anyways.

--
Posted via http://www.ruby-forum.com/\.

AliasX Neo wrote:

You lost me there with the combination of ActiveState tools.

ActiveState Komodo supports targetting Ruby/Tk from its GUI builder, it
seems.

It's just that... Well... Ugh, Tk. <ducking yet faster>

David Vallner

So I guess a better format for my original question should be:

Windows users, what do you do to develop GUI's for Ruby?

···

--
Posted via http://www.ruby-forum.com/.

David Vallner wrote:

AliasX Neo wrote:

You lost me there with the combination of ActiveState tools.

ActiveState Komodo supports targetting Ruby/Tk from its GUI builder, it
seems.

It's just that... Well... Ugh, Tk. <ducking yet faster>

David Vallner

I wasn't aware it has a GUI builder. I have ActiveState Komodo 3.5
installed on my computer right now. Is there some extension I need?

···

--
Posted via http://www.ruby-forum.com/\.

AliasX Neo wrote:

Windows users, what do you do to develop GUI's for Ruby?

Handcode / use Python.

David Vallner

AliasX Neo wrote:

So I guess a better format for my original question should be:

Windows users, what do you do to develop GUI's for Ruby?

foxGUIb (http://fox-tool.rubyforge.org/\) is a possible option,
but is mainly a gui for building guis, not an IDE in its
own right.

···

--
Posted via http://www.ruby-forum.com/\.

David Vallner wrote:

AliasX Neo wrote:
  

Windows users, what do you do to develop GUI's for Ruby?

Handcode / use Python.

David Vallner

Use commercial Microsoft tools, just like they teach you about in the Microsoft Certification courses

<ducking>

···

--
M. Edward (Ed) Borasky, FBG, AB, PTA, PGS, MS, MNLP, NST, ACMC(P)
http://borasky-research.blogspot.com/

If God had meant for carrots to be eaten cooked, He would have given rabbits fire.

AliasX Neo wrote:

David Vallner wrote:
  

AliasX Neo wrote:
    

You lost me there with the combination of ActiveState tools.

ActiveState Komodo supports targetting Ruby/Tk from its GUI builder, it
seems.

It's just that... Well... Ugh, Tk. <ducking yet faster>

David Vallner
    
I wasn't aware it has a GUI builder. I have ActiveState Komodo 3.5 installed on my computer right now. Is there some extension I need?

Try the Komodo 4 beta.

···

--
M. Edward (Ed) Borasky, FBG, AB, PTA, PGS, MS, MNLP, NST, ACMC(P)
http://borasky-research.blogspot.com/

If God had meant for carrots to be eaten cooked, He would have given rabbits fire.

I am curious, but is handcoding Ruby UIs in whatever (Tk by default)
a significant amount of work?

Consider doing the equivalent in Java Swing as a frame of reference?
(painful but do-able).

Basically, I like the idea of making simple UIs in Ruby for test tools,
and software that you don't sell.

···

On 11/11/06, David Vallner <david@vallner.net> wrote:

AliasX Neo wrote:
> Windows users, what do you do to develop GUI's for Ruby?
>

Handcode / use Python.

Oh-ha! I didn't know about this one! And it works -- pretty much what I
have been waiting for a (long) while now.

Happy news!

M.

···

On Sun, 12 Nov 2006 18:05:26 +0900, David Roberts wrote:

foxGUIb (http://fox-tool.rubyforge.org/\) is a possible option,
but is mainly a gui for building guis, not an IDE in its
own right.

M. Edward (Ed) Borasky wrote:

David Vallner wrote:

AliasX Neo wrote:

Windows users, what do you do to develop GUI's for Ruby?

Handcode / use Python.

David Vallner

Use commercial Microsoft tools, just like they teach you about in the
Microsoft Certification courses

<ducking>

You're evil. So very evil.

(And unfortunately right. MSVS+VB6 by far holds the record in
approachable RAD GUIs. Of abysmal quality, but oh, the quantity and
sheer scope of people making them.)

David Vallner

On 11/11/06, M. Edward (Ed) Borasky <znmeb@cesmail.net> wrote:<snipping>

<ducking>

It has been a pleasure reading your posts, RIP :wink:

But I agree with what you have said before (this sentence can be applied
once only!).

There should be a FAQ, and yes I volunteer to work on it!!!!, and if there
was a FAQ this should be one of the leading issues.

But maybe there is a FAQ? Never seen any ref to it, though.

Cheers
Robert

···

--

M. Edward (Ed) Borasky, FBG, AB, PTA, PGS, MS, MNLP, NST, ACMC(P)
http://borasky-research.blogspot.com/

If God had meant for carrots to be eaten cooked, He would have given
rabbits fire.

--
The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all progress
depends on the unreasonable man.

- George Bernard Shaw