# How to make wxRuby work with Aptana Studio 3?

**URL:** <https://www.ruby-forum.com/t/how-to-make-wxruby-work-with-aptana-studio-3/226383>\
**Category:** wxRuby\
**Created:** [July 24, 2012, 7:49pm UTC](https://www.ruby-forum.com/t/how-to-make-wxruby-work-with-aptana-studio-3/226383 "2012-07-24T19:49:30Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![rpk2006](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/439d5e/32.png) [@rpk2006](https://www.ruby-forum.com/u/rpk2006)\
**Post date:** [July 24, 2012, 7:49pm UTC](https://www.ruby-forum.com/t/how-to-make-wxruby-work-with-aptana-studio-3/226383/1 "2012-07-24T19:49:30Z")

</div>

I installed Ruby 1.9.3 and also wxRuby using: gem install wxruby.

I installed Aptana Studio 3 and want to know how to make Aptana  
recognize wxRuby?

---

<div class="post-metadata">

**Author:** ![rpk2006](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/439d5e/32.png) [@rpk2006](https://www.ruby-forum.com/u/rpk2006)\
**Post date:** [July 24, 2012, 8:14pm UTC](https://www.ruby-forum.com/t/how-to-make-wxruby-work-with-aptana-studio-3/226383/2 "2012-07-24T20:14:51Z")

</div>

Am Tue, 24 Jul 2012 19:49:30 +0200  
schrieb Rubyist R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> I installed Ruby 1.9.3 and also wxRuby using: gem install wxruby.

This installs the wxRuby gem for Ruby 1.8. Uninstall it and install the  
gem for 1.9:

# gem uninstall wxruby

# gem install wxruby-ruby19

@wxRuby-devs: Could you please add something like

spec.required\_ruby\_version = “\< 1.9”

to the gemspec of the wxruby gem? I see many people installing the  
wrong gem, and then complaining it doesn’t work…

> I installed Aptana Studio 3 and want to know how to make Aptana  
> recognize wxRuby?

I don’t know Aptana (or any IDE, I’m happy with Emacs), but for normal  
Ruby code you’d do

require “wx”

and be done with it.

Vale,  
Marvin

–  
Blog: [http://pegasus-alpha.eu/blog](http://pegasus-alpha.eu/blog)

ASCII-Ribbon-Kampagne () | ASCII Ribbon Campaign ()

- Stoppt HTML-E-Mail /\ | - Against HTML E-Mail /\
- Stoppt proprietäre Anhänge | - Against proprietary attachments  
[The Ascii Ribbon Campaign official homepage - Deutsch](http://www.asciiribbon.org/index-de.html) | [www.asciiribbon.org](http://www.asciiribbon.org)

---

<div class="post-metadata">

**Author:** ![rpk2006](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/439d5e/32.png) [@rpk2006](https://www.ruby-forum.com/u/rpk2006)\
**Post date:** [July 24, 2012, 8:16pm UTC](https://www.ruby-forum.com/t/how-to-make-wxruby-work-with-aptana-studio-3/226383/3 "2012-07-24T20:16:03Z")

</div>

Thanks it worked.

---

<div class="post-metadata">

**Author:** ![rpk2006](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/439d5e/32.png) [@rpk2006](https://www.ruby-forum.com/u/rpk2006)\
**Post date:** [July 28, 2012, 8:18pm UTC](https://www.ruby-forum.com/t/how-to-make-wxruby-work-with-aptana-studio-3/226383/4 "2012-07-28T20:18:50Z")

</div>

This point has been made before, by me and others. The problem is that  
there are no devs for wxruby to change this - it’s dead as a dodo,  
unfortunately ☹ This too was discussed and lamented on previously. This  
is a common problem with Ruby unfortunately.

---

<div class="post-metadata">

**Author:** ![rpk2006](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/439d5e/32.png) [@rpk2006](https://www.ruby-forum.com/u/rpk2006)\
**Post date:** [July 28, 2012, 8:55pm UTC](https://www.ruby-forum.com/t/how-to-make-wxruby-work-with-aptana-studio-3/226383/5 "2012-07-28T20:55:14Z")

</div>

Bonjour,  
je suis en congés, je serai de retour lundi 20 août.

Cordialement

---

<div class="post-metadata">

**Author:** ![rpk2006](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/439d5e/32.png) [@rpk2006](https://www.ruby-forum.com/u/rpk2006)\
**Post date:** [July 28, 2012, 8:55pm UTC](https://www.ruby-forum.com/t/how-to-make-wxruby-work-with-aptana-studio-3/226383/6 "2012-07-28T20:55:49Z")

</div>

Bonjour,  
je suis en congés, je serai de retour lundi 20 août.

Cordialement

---

<div class="post-metadata">

**Author:** ![rpk2006](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/439d5e/32.png) [@rpk2006](https://www.ruby-forum.com/u/rpk2006)\
**Post date:** [July 28, 2012, 10:04pm UTC](https://www.ruby-forum.com/t/how-to-make-wxruby-work-with-aptana-studio-3/226383/7 "2012-07-28T22:04:46Z")

</div>

Am Sat, 28 Jul 2012 20:18:50 +0200  
schrieb Kevin McCaughey [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> This point has been made before, by me and others. The problem is  
> that there are no devs for wxruby to change this - it’s dead as a  
> dodo, unfortunately ☹ This too was discussed and lamented on  
> previously. This is a common problem with Ruby unfortunately.

This is not fair. There’s quite a number of Ruby projects that _are_  
active and that are active since a good time (and it is not only  
rails). wxRuby development indeed has stalled, but the devs still read  
this ML from time to time so it’s not that they disappeared completely.  
Apart from that, wxRuby still is my GUI toolkit of choice as it’s  
natively cross-platform, documented well and feature-rich. I indeed  
would love to see more active wxRuby development, but given that  
wxRuby’s code base is aging this becomes the more unlikely the more  
time passes. As far as I can tell, there have been no efforts to port  
it to the newer wxWidgets versions. As wxWidgets now is aiming for  
version 3, which will then be adapted by most distributors, leaving  
wxRuby unable to operate, the time will come to either update or  
officially abandon wxRuby. But until then, wxRuby is in a usable state.  
As I posted earlier on this list, a friend of mine has started a new  
port of wxWidgets (2.9, aiming for 3) at  
[GitHub - Hanmac/rwx: wxWidgets binding for ruby · GitHub](https://github.com/Hanmac/rwx) , without being dependent on SWIG. If  
anyone is interested I’m sure he appreciates the help.

Valete,  
Marvin

–  
Blog: [http://pegasus-alpha.eu/blog](http://pegasus-alpha.eu/blog)

ASCII-Ribbon-Kampagne () | ASCII Ribbon Campaign ()

- Stoppt HTML-E-Mail /\ | - Against HTML E-Mail /\
- Stoppt proprietäre Anhänge | - Against proprietary attachments  
[The Ascii Ribbon Campaign official homepage - Deutsch](http://www.asciiribbon.org/index-de.html) | [www.asciiribbon.org](http://www.asciiribbon.org)

---

<div class="post-metadata">

**Author:** ![rpk2006](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/439d5e/32.png) [@rpk2006](https://www.ruby-forum.com/u/rpk2006)\
**Post date:** [July 28, 2012, 10:10pm UTC](https://www.ruby-forum.com/t/how-to-make-wxruby-work-with-aptana-studio-3/226383/8 "2012-07-28T22:10:37Z")

</div>

Bonjour,  
je suis en congés, je serai de retour lundi 20 août.

Cordialement

---

<div class="post-metadata">

**Author:** ![rpk2006](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/439d5e/32.png) [@rpk2006](https://www.ruby-forum.com/u/rpk2006)\
**Post date:** [September 8, 2012, 8:25pm UTC](https://www.ruby-forum.com/t/how-to-make-wxruby-work-with-aptana-studio-3/226383/9 "2012-09-08T20:25:48Z")

</div>

Marvin Gülker wrote in post #1070550:  
…

> But until then, wxRuby is in a usable state.

maybe on Linux, but on Windows it doesn’t seem to work with a standard  
gem  
install. so if you want to use it, you have to install the executable  
available on Rubyforge, but it also install an “old” Ruby (1.9.1). so if  
you want to use wxruby on Windows with a recent ruby installed normally  
with RubyInstaller, you’d probably have to be able to adapt something or  
modify the installation files… not usable for a beginner ☹

> As I posted earlier on this list, a friend of mine has started a new  
> port of wxWidgets (2.9, aiming for 3) at  
> [GitHub - Hanmac/rwx: wxWidgets binding for ruby · GitHub](https://github.com/Hanmac/rwx) , without being dependent on SWIG. If  
> anyone is interested I’m sure he appreciates the help.

just looked at your link, but there’s not even a simple line in the  
readme file. don’t want to be negative, but I don’t think that’s a good  
way to find helpers.

but with wxwidgets v3.0 to come in a few month, it could be great to see  
a little life in wxruby development (or eventually in another version  
like rwx..).  
of course I’d be happy to help, but really don’t have much time and I’m  
still a beginner with ruby, so can’t be of a great help ..

Fred

---

<div class="post-metadata">

**Author:** ![rpk2006](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/439d5e/32.png) [@rpk2006](https://www.ruby-forum.com/u/rpk2006)\
**Post date:** [September 8, 2012, 9:45pm UTC](https://www.ruby-forum.com/t/how-to-make-wxruby-work-with-aptana-studio-3/226383/10 "2012-09-08T21:45:12Z")

</div>

Am Sat, 08 Sep 2012 20:25:48 +0200  
schrieb “Fred L.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> Marvin Gülker wrote in post #1070550:  
> …
> 
> > But until then, wxRuby is in a usable state.
> 
> maybe on Linux, but on Windows it doesn’t seem to work with a standard  
> gem  
> install.

Could you be a little more precise? “Doesn’t seem to work” doesn’t  
magically enable us to detect and solve your problem (or at least make  
suggestions). Last time I tried the wxruby-ruby19 gem on Windows  
with Ruby 1.9.3 (about three months ago), it worked just fine.

> so if you want to use it, you have to install the executable  
> available on Rubyforge, but it also install an “old” Ruby (1.9.1). so  
> if you want to use wxruby on Windows with a recent ruby installed  
> normally with RubyInstaller, you’d probably have to be able to adapt  
> something or modify the installation files… not usable for a  
> beginner ☹

I never used the wxRuby installer and do not really see the point why  
it exists at all, so I can’t comment on what it does and what it  
doesn’t.

> > As I posted earlier on this list, a friend of mine has started a new  
> > port of wxWidgets (2.9, aiming for 3) at  
> > [GitHub - Hanmac/rwx: wxWidgets binding for ruby · GitHub](https://github.com/Hanmac/rwx) , without being dependent on SWIG. If  
> > anyone is interested I’m sure he appreciates the help.
> 
> just looked at your link, but there’s not even a simple line in the  
> readme file. don’t want to be negative, but I don’t think that’s a  
> good way to find helpers.

If you can write one I’m sure he will be glad to accept it; sadly, his  
English is not as good as yours and I don’t have the time to deeply  
dig into his code to write an introduction on it (but hey, Nginx  
started with docs in Russian…).

> but with wxwidgets v3.0 to come in a few month, it could be great to  
> see a little life in wxruby development (or eventually in another  
> version like rwx..).  
> of course I’d be happy to help, but really don’t have much time and  
> I’m still a beginner with ruby, so can’t be of a great help ..

Agreed. Somethings needs to be done, or Ruby will soon have no  
wxWidgets bindings at all anymore. When I find the time, I will try my  
hands on it, but for now…

> Fred

Vale,  
Marvin

---

<div class="post-metadata">

**Author:** ![rpk2006](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/439d5e/32.png) [@rpk2006](https://www.ruby-forum.com/u/rpk2006)\
**Post date:** [September 9, 2012, 12:50pm UTC](https://www.ruby-forum.com/t/how-to-make-wxruby-work-with-aptana-studio-3/226383/11 "2012-09-09T12:50:32Z")

</div>

my [GitHub - Hanmac/rwx: wxWidgets binding for ruby](https://github.com/Hanmac/rwx) will have 2.9.3+ support … wxwidgets  
3.0 is not out yet.

---

<div class="post-metadata">

**Author:** ![rpk2006](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/439d5e/32.png) [@rpk2006](https://www.ruby-forum.com/u/rpk2006)\
**Post date:** [September 9, 2012, 7:34pm UTC](https://www.ruby-forum.com/t/how-to-make-wxruby-work-with-aptana-studio-3/226383/12 "2012-09-09T19:34:42Z")

</div>

nice…! thanks a lot.

---

<div class="post-metadata">

**Author:** ![rpk2006](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/439d5e/32.png) [@rpk2006](https://www.ruby-forum.com/u/rpk2006)\
**Post date:** [September 9, 2012, 9:34am UTC](https://www.ruby-forum.com/t/how-to-make-wxruby-work-with-aptana-studio-3/226383/13 "2012-09-09T09:34:45Z")

</div>

Marvin Gülker wrote in post #1075155:

> …  
> Could you be a little more precise? “Doesn’t seem to work” doesn’t  
> magically enable us to detect and solve your problem (or at least make  
> suggestions). Last time I tried the wxruby-ruby19 gem on Windows  
> with Ruby 1.9.3 (about three months ago), it worked just fine.

Hello Marvin, you’re right it’s ok. here is what I did yesterday and the  
result I got :  
gem install wxruby-ruby19 --platform=ruby  
ERROR: Could not find a valid gem ‘wxruby-ruby19’ (\>0), here is why:  
Found wxruby-ruby19 (2.0.0), but was for platforms x86\_64-linux  
,x86-linux ,x86-mingw32 ,x86-darwin-9  
ERROR: Possible alternatives: eart-ruby19, errata-ruby19, rdf-ruby19,  
rpam-ruby19, ruby2ruby

I simply did the same this morning without the --platform=ruby and it  
got installed. didn’t I say you I’m still a beginner in ruby.. 🙂  
(I remember that in the RubyInstaller Devkit it’s said that I need to  
add the --platform=ruby option, so I always add it and don’t remember  
having a problem before with that..)

> …
> 
> > just looked at your link, but there’s not even a simple line in the  
> > readme file. don’t want to be negative, but I don’t think that’s a  
> > good way to find helpers.
> 
> If you can write one I’m sure he will be glad to accept it; sadly, his  
> English is not as good as yours and I don’t have the time to deeply  
> dig into his code to write an introduction on it (but hey, Nginx  
> started with docs in Russian…).

sorry, I didn’t wanted to be aggressive, but I’m french and my english  
is probably not as good as you say. but of course, it would be worse if  
I never tried to use and improve it…  
remember the beginner part of me..? don’t think I could analyze this  
code and be able to understand it enough to write something that will  
explain what it is and what the programmer want it to become..

so maybe it would be better if your friend write something in is natural  
language to explain his code and how he wanted it to evolve (with some  
help or not). I think that it would be better for all to read it through  
something like Google Translate than through my eventual understanding  
of his code..

still hoping that something could be done (with a little help from all  
of us) to have a wxruby (or a new one like rwx) with wxwidgets 3.0  
support…

thanks  
Fred
