Project status

68 views
Skip to first unread message

psy...@gmail.com

unread,
Jan 26, 2013, 12:41:11 PM1/26/13
to monkeyb...@googlegroups.com
Hello,
I am new to Ruby, so please excuse any newb mistakes. I am trying out a project with jruby and swing and came across this project and thought i'd give it a try. It looks like activity has died down a while back, but I thought I'd check anyways. 

I went to the wiki (at github) and tried installing monkeybars, but was unsuccessful. The wiki installation page says to use:

jgem install monkeybars jgem install rawr

Here are the results of that:

ERROR:  While executing gem ... (Gem::DependencyError)
    Unable to resolve dependencies: monkeybars requires rawr (>= 1.3.7)

So i logically deduced i need to install rawr first:

jgem install rawr
Fetching: rubyzip-0.9.9.gem (100%)
Fetching: rawr-1.2.gem (100%)
Successfully installed rubyzip-0.9.9
Successfully installed rawr-1.2
2 gems installed


So then i try:

jgem install monkeybars

and get:
 
ERROR:  While executing gem ... (Gem::DependencyError)
    Unable to resolve dependencies: monkeybars requires rawr (>= 1.3.7)

I was about to just move on and do straight swing from within jruby, but i thought i'd check with this group to see if there's something simple i'm doing wrong. I suppose it's obvious i can dig around to find out how to get rawr version >= 1.3.7, but i didn't want to spend a lot of time on this if monkeybars is no longer being developed or supported.

I like the philosophy of monkeybars; so if this project is pretty much dead, are there other recommendations?

Thanks!
.jt

James Britt

unread,
Jan 26, 2013, 3:44:46 PM1/26/13
to monkeyb...@googlegroups.com
psy...@gmail.com wrote:
> Hello,
> I am new to Ruby, so please excuse any newb mistakes. I am trying out a
> project with jruby and swing and came across this project and thought
> i'd give it a try. It looks like activity has died down a while back,
> but I thought I'd check anyways.
>
> I went to the wiki (at github) and tried installing monkeybars, but was
> unsuccessful. The wiki installation page says to use:

I apologize for your trouble from following the wiki. It's out of date.

There are two ways the get the current monkeybars libs. Either grab the
source from github and build then install a gem f there, or install the
gem from gems.neurogami.com

There have been assorted changes because of changes in Java and JRuby so
you are best using the most current release.

You will also need the rawr gem, which can be installed in the same
manner as the monkeybars gem, as well as the swingset-ng gem (same
installation options).

>
> jgem install monkeybars jgem install rawr

I've never see that format before. I usually just run the commands
individually.

>
>
> Here are the results of that:
>
> ERROR: While executing gem ... (Gem::DependencyError)
> Unable to resolve dependencies: monkeybars requires rawr (>= 1.3.7)
>
>
> So i logically deduced i need to install rawr first:
>
> jgem install rawr
> Fetching: rubyzip-0.9.9.gem (100%)
> Fetching: rawr-1.2.gem (100%)
> Successfully installed rubyzip-0.9.9
> Successfully installed rawr-1.2
> 2 gems installed
>
>
>
> So then i try:
>
> jgem install monkeybars
>
>
> and get:
>
>
> ERROR: While executing gem ... (Gem::DependencyError)
> Unable to resolve dependencies: monkeybars requires rawr (>= 1.3.7)
>
>
> I was about to just move on and do straight swing from within jruby, but
> i thought i'd check with this group to see if there's something simple
> i'm doing wrong. I suppose it's obvious i can dig around to find out how
> to get rawr version >= 1.3.7, but i didn't want to spend a lot of time
> on this if monkeybars is no longer being developed or supported.


Monkeybars gets some attention now and then but it does pretty much what
it is supposed to do and I've not had a reason to add new behavior. I
basically try to keep it up-to-date with the current JRuby.

I haven't had much need to use it myself for awhile, but I'm now doing
some Leap Motion JRuby dev and have been sorting out using rawr and
Monkeybars for a GUI app.

One issue I ran into and need to fix is in swingset-ng. If you use it
you may get errors trying to create Label instances; something in JRuby
changed and the code is not breaking. My work-around is to just use
straight-up Swing for the labels but that's not what I want to do long-term.

Of course you can skip swingset-ng altogether, especially if you are
using something like the Netbeans GUI editor.


James

--

jamesbritt.com - Live curious
justthebestparts.com - Feed your head
neurogami.com - Hack your world
Reply all
Reply to author
Forward
0 new messages