Installing monkeybars

hi guys i got a little problem when i’m trying to install monkeybars
when i want to create the base directory i got this error:

C:\Program Files\NetBeans 6.9.1\ruby\jruby-1.5.1\bin>jruby -S monkeybars
Test
Creating directory Test
“jruby.bat.exe” wordt niet herkend als een interne
of externe opdracht, programma of batchbestand.

Error installing Monkeybars project:
No such file or directory - Test/build_configuration.rb
C:/Program Files/NetBeans
6.9.1/ruby/jruby-1.5.1/lib/ruby/gems/1.8/gems/monkeyba
rs-1.0.5/bin/monkeybars:53:in initialize' C:/Program Files/NetBeans 6.9.1/ruby/jruby-1.5.1/lib/ruby/gems/1.8/gems/monkeyba rs-1.0.5/bin/monkeybars:53 C:/Program Files/NetBeans 6.9.1/ruby/jruby-1.5.1/lib/ruby/gems/1.8/gems/monkeyba rs-1.0.5/bin/monkeybars:19:inload’
monkeybars:19

C:\Program Files\NetBeans 6.9.1\ruby\jruby-1.5.1\bin>

please can anyone help me

Lark W. wrote:

hi guys i got a little problem when i’m trying to install monkeybars
when i want to create the base directory i got this error:

C:\Program Files\NetBeans 6.9.1\ruby\jruby-1.5.1\bin>jruby -S monkeybars
Test

Sort of a side question, but why are you creating a project folder in
the jruby bin directory?

6.9.1/ruby/jruby-1.5.1/lib/ruby/gems/1.8/gems/monkeyba
rs-1.0.5/bin/monkeybars:53
C:/Program Files/NetBeans
6.9.1/ruby/jruby-1.5.1/lib/ruby/gems/1.8/gems/monkeyba
rs-1.0.5/bin/monkeybars:19:in `load’
monkeybars:19

C:\Program Files\NetBeans 6.9.1\ruby\jruby-1.5.1\bin>

How did you install the monkeybars gem?

James B.

Neurogami - Smart application development

http://www.neurogami.com

[email protected]

i am creating the monkeybars base dir because they say i need it on
there website.
and i create into my /lib because jruby is there and a monkeybar batch
file
i am working with windows so that is the only place where i get a
responce when i use cmd

i installed monkeybars trugh netbeans with the ruby gem installer.

i hope you could help me now :stuck_out_tongue:

heey thanks i will try:)

heey i don’t know how i it helps but i can translate something to the
english what was in my first post:

“jruby.bat.exe” wordt niet herkend als een interne
of externe opdracht, programma of batchbestand.

“jruby.bat.exe” isn’t recognished as a intern of extern order, program
or batchfile.

it maybe also help :stuck_out_tongue:

heey thank its work but how do i set the path of my jruby commands

Lark W. wrote:

It looks like monkeybars is invoking rawr to generate directories and
code (for reasons I confess I do not understand). It shells out to do
this, and ends up calling plain-old-ruby (i.e. C Ruby), not jruby.

Even if you have rawr installed with C Ruby it fails unless it is also
Ruby 1.8.7 or better, since rawr is using RUBY_DESCRIPTION to get some
info.

If any of that fails (as it did for me just now) no files get created
and later code in the monkeybars project generator fails as well.

So, you have to make sure you have rawr installed under JRuby, and I
have to update monkeybars to invoke the jruby rawr, not the whatever
other version rawr.

In the meantime, if you edit
jruby/1.8/gems/monkeybars-1.0.5/bin/monkeybars (you may have to hunt
around to see where Netbeans likes to put things) and change line 51

 puts `rawr install #{rawr_install_args} #{project_name}`

to

 puts `jruby -S rawr install #{rawr_install_args} #{project_name}`

you should be good.

You might also want to check how your PATH environment value is set up
so that Windows finds the assorted jruby commands without having to be
in the bin directory.

James

Neurogami - Smart application development

http://www.neurogami.com

[email protected]

hi i don’t know how to do that can you explain it a little more!

On Wed, Nov 24, 2010 at 8:44 PM, Lark W. [email protected] wrote:

like i use windows 7 where to find it
and what must i add

You’re not trying hard enough:
http://jruby.org.s3.amazonaws.com/downloads/1.5.5/jruby_windows_1_5_5.exe

And read the instructions on the screen…


Christian

like i use windows 7 where to find it
and what must i add

On Wed, Nov 24, 2010 at 7:26 PM, Lark W. [email protected] wrote:

heey thank its work but how do i set the path of my jruby commands

how about using the standard windows installer and let the setup add
the path to your environment ?


Christian

when i have installed it i still got this

Microsoft Windows [versie 6.1.7600]
Copyright © 2009 Microsoft Corporation. Alle rechten voorbehouden.

C:\Users<name> cd C:\Users<name>\Documents\NetBeansProjects

C:\Users<name>\Documents\NetBeansProjects>monkeybars test
monkeybars wordt niet herkend als een interne
of externe opdracht, programma of batchbestand.

C:\Users<name>\Documents\NetBeansProjects>jruby -S monkeybars test
jruby: No such file, directory, or command – monkeybars

C:\Users<name>\Documents\NetBeansProjects>Jruby -S monkeybars test
jruby: No such file, directory, or command – monkeybars

C:\Users<name>\Documents\NetBeansProjects>

what am i doing wrong

alright thanks

On Wed, Nov 24, 2010 at 9:22 PM, Lark W. [email protected] wrote:

1/ First after you installed jruby-1.5.5 for windows (link I sent
ealier on), reboot your machine: make sure you ticked update the path
for me before the end of jruby setup.

2/ after your reboot, start a cmd.exe window and inside it, type jruby
-v: it should look like this
jruby 1.5.5 (ruby 1.8.7 patchlevel 249) (2010-11-10 4bd4200) (Java
HotSpot™ Client VM 1.6.0_22) [x86-java]

If step 2 fails, restart step 1 and reboot: you did it the wrong
way… I suggest you install jruby in c:\jruby by the way.

3/ after your successful step 2, install monkeybars in the same
cmd.exe window by typing (it takes a while): gem install monkeybars
The screen should look like this on a fresh jruby installation:
Successfully installed xml-simple-1.0.12
Successfully installed json_pure-1.4.6
Successfully installed rubyforge-2.0.4
Successfully installed hoe-2.7.0
Successfully installed s4t-utils-1.0.4
Successfully installed user-choices-1.1.6.1
Successfully installed rubyzip-0.9.4
Successfully installed rawr-1.4.3
Successfully installed monkeybars-1.0.5
9 gems installed
(…)

4/ type now: monkeybars
Usage:
monkeybars -h/–help
monkeybars -v/–version

  monkeybars project_name
    Creates a new directory (project_name) containing a project

skeleton with all files needed to run a monkeybars application.

5/ be more polite in your future emails: the email exchange 4 days ago
was not the best way to get people interested in helping you out…


Christian

heey i will try it but i have installed jruby already in netbeans and
monkeybars is there but i know also have installed it on C:/Jrubby/

so do i have to install monkeybars again in C:/Jrubby/

On Wed, Nov 24, 2010 at 10:20 PM, Lark W. [email protected]
wrote:

heey i will try it but i have installed jruby already in netbeans and
monkeybars is there but i know also have installed it on C:/Jrubby/

so do i have to install monkeybars again in C:/Jrubby/

Lees meer goed wat ik stuurde!

Using a gem will do the magic for you: just do as I sent…

Note to self: “Thou shalt not feed the troll anymore tonight…”


Christian

i’m sorry i bothering you guess i got it thanks a lot