How to make wxRuby work with Aptana Studio 3?

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?

Am Tue, 24 Jul 2012 19:49:30 +0200
schrieb Rubyist R. [email protected]:

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

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

Thanks it worked.

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 :frowning: This too was discussed and lamented on previously. This
is a common problem with Ruby unfortunately.

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

Cordialement

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

Cordialement

Am Sat, 28 Jul 2012 20:18:50 +0200
schrieb Kevin McCaughey [email protected]:

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 :frowning: 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 , without being dependent on SWIG. If
anyone is interested I’m sure he appreciates the help.

Valete,
Marvin


Blog: http://pegasus-alpha.eu/blog

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

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

Cordialement

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 :frowning:

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 , 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

Am Sat, 08 Sep 2012 20:25:48 +0200
schrieb “Fred L.” [email protected]:

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 :frowning:

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 , 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

my GitHub - Hanmac/rwx: wxWidgets binding for ruby will have 2.9.3+ support … wxwidgets
3.0 is not out yet.

nice…! thanks a lot.

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… :slight_smile:
(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