OK, if you want to tinker with it, the repo is here: http://github.com/arton/rjb and the author is pretty responsive.
On Mon, Sep 20, 2010 at 11:40, Alex Boisvert <[email protected]>wrote: > I reported this on RJB forum: > http://rubyforge.org/forum/forum.php?thread_id=48689&forum_id=8190 > > > On Mon, Sep 20, 2010 at 11:01 AM, Alex Boisvert > <[email protected]>wrote: > >> Yeah, just tried it, getting same result. Not just scala; rjb 1.2.8 >> can't load classes. Don't know why yet. >> >> alex >> >> >> On Mon, Sep 20, 2010 at 10:21 AM, Antoine Toulme <[email protected] >> > wrote: >> >>> 1.2.8 failed for me with Scala throwing CNF exceptions. >>> >>> On Mon, Sep 20, 2010 at 09:36, Alex Boisvert <[email protected]>wrote: >>> >>>> I think it would be wise (and compassionate) to only depend on rjb >>>> versions having pre-compiled binaries for Windows. >>>> >>>> It is too late to upgrade to rjb 1.2.8 for Buidlr 1.4.2? I know you >>>> tried 1.2.8 ... did it work for you? >>>> >>>> alex >>>> >>>> On Mon, Sep 20, 2010 at 8:21 AM, Antoine Toulme < >>>> [email protected]> wrote: >>>> >>>>> We use rjb 1.2.5. You will need to compile rjb always because it >>>>> contains >>>>> native extensions. >>>>> >>>>> If you want a better experience, either ditch Windows or use JRuby. We >>>>> also >>>>> make a all-in-one package available on the rubyforge site. >>>>> >>>>> We will update our installation instructions in the coming months by >>>>> adapting them to rvm environments. >>>>> >>>>> Cheers, >>>>> >>>>> Antoine >>>>> >>>>> 2010/9/20 Khristian Alexander Schönrock <[email protected]> >>>>> >>>>> > I ran into the same problem some time ago. I solved it by >>>>> downloading a >>>>> > rjb gem which included the native extension (1.2.5, I think) and >>>>> edited the >>>>> > version number to the one buildr wanted (1.2.6). Installed the hacked >>>>> rjb >>>>> > gem, then buildr, without problems. >>>>> > >>>>> > Em 20/09/2010 12:09, Samuel Ecko escreveu: >>>>> > >>>>> > Just wanted to report my installation issues with Buildr on my >>>>> Windows >>>>> >> 7 64bit machine and how I worked around them. >>>>> >> >>>>> >> I am new to Buildr and Ruby, so I'm not sure if the problems are >>>>> >> specific to my computer and/or OS or not. I tried to follow the >>>>> >> install instructions from the Buildr website >>>>> >> (http://buildr.apache.org/installing.html#windows) and downloaded >>>>> >> RubyInstaller for Windows 1.8.7 (and rolled back to 1.8.6 when I ran >>>>> >> into troubles). >>>>> >> >>>>> >> To me it seems that Buildr 1.4.1 requires version 1.2.5 of rjb >>>>> >> (Ruby-Java-Bridge), but the standard gems repository does not have a >>>>> >> pre-compiled package for 1.2.5, only for the latest version 1.2.8. >>>>> See >>>>> >> http://rubygems.org/gems/rjb/versions. This is why installing >>>>> Buildr >>>>> >> with the platform --platform=mswin32 switch will trigger a compile >>>>> of >>>>> >> rjb which subsequently fails without a C compiler being present on >>>>> the >>>>> >> system. >>>>> >> >>>>> >> The RubyInstaller for Windows cannot compile Ruby gems by default, >>>>> and >>>>> >> fails with a rather obscure message pointing in the wrong direction, >>>>> >> more precisely the check for jni.h in the JAVA_HOME / include >>>>> >> directory fails and a Ruby noob like me would assume a problem with >>>>> >> the Java install or some permission problem. Google did not really >>>>> >> help (quickly). >>>>> >> >>>>> >> What did the trick for me was to install the 'DevKit' from the >>>>> >> RubyInstaller for W. website. Version 4.5.0 failed with a different >>>>> >> error message ('long long long is too long'), but with 3.4.5 I was >>>>> >> finally able to compile rjb 1.2.5 and install Buildr 1.4.1. >>>>> >> >>>>> >> Other steps I took that might or might not have affected the outcome >>>>> >> of the install >>>>> >> - use 32bit JDK instead of 64bit >>>>> >> - set JAVA_HOME to 8.3 character file name, e.g. >>>>> >> c:\progra~2\java\jdk1.6.0_21 >>>>> >> - install Ruby into a directory path that does not contain spaces >>>>> >> >>>>> >> >>>>> >> Hope my email will help other Buildr/Ruby noobs and/or maybe help >>>>> >> solve the dependency problem (if there actually is one ;)) >>>>> >> >>>>> >> >>>>> >> Samuel Ecko >>>>> >> >>>>> > >>>>> > >>>>> >>>> >>>> >>> >> >
