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?
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. There are quite a few -- my favorite (on Linux) is Kommander/Korundum/QTRuby.
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.
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.
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.
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.
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.
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.
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.
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.)
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.