dear matt,

thanks for getting back to me. When I googled the error message last
night, nothing came up - but this morning when i google it (or maybe
something slightly different) heaps of different things come up - as
you say!

anyway, i thought about it overnight, and then checked the batch file
that was in my gems directory - and manually fixed it:

i changed the line in my batch file from

@"jruby.bat.exe" "%~dpn0" %*

to

@"jruby" "%~dpn0" %*

and now it seems to work fine. I had to do the same thing with heroku
as well.

it would indeed be nice if the batch file had been created correctly
in the first place!

cheers,

charles de b

On Feb 27, 3:36 am, Matt Jones <[email protected]> wrote:
> On Feb 26, 2010, at 4:07 PM, charlesdeb wrote:
>
>
>
> > i just installed the latest version of hobo (1.0 - congrats to the
> > team), and am running jruby 1.4 on win 7 pro, rails 2.3.5.
>
> > typing "hobo thingybob" at the command line as per the getting started
> > tutorial results in:
>
> > ' "jruby.bat.exe" ' is not recognized as an internal or external
> > command, operable program or batch file.
>
> > For what it's worth, just typing "rails someappname" at the command
> > line in the same location creates a standard rails app. jruby seems to
> > be running fine o/wise - including jirb.
>
> > i presume i have something wrong with my windows path setting, but am
> > not sure.  my path includes the following:
>
> > path: %JAVA_HOME%\bin\;%JRUBY_HOME%\bin\;
>
> > and these are the related system variables...
>
> > jruby_home: C:\Users\xxxxx\.netbeans\6.8\jruby-1.4.0
> > java_home: C:\Program Files (x86)\Java\jdk1.6.0_17
> > classpath: .;C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip
>
> > any assistance gratefully received. i'd like to be able to get beyond
> > the very first step with hobo in my evaluation of it!
>
> Something's b0rked in JRuby - googling reveals lots of people running  
> into the same message, even with totally different gems. I'm guessing  
> it's related to this bug:
>
> http://rubyforge.org/tracker/index.php?func=detail&aid=20380&group_id...
>
> and this:
>
> http://jira.codehaus.org/browse/JRUBY-2432
>
> I'd check to see if your generated .bat files have the same issue.
>
> --Matt Jones

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to