On Wed, Jan 28, 2009 at 9:12 AM, Mauro Talevi
<[email protected]> wrote:
> aslak hellesoy wrote:
>>
>>
>> On Fri, Jan 23, 2009 at 2:16 PM, aslak hellesoy <[email protected]
>> <mailto:[email protected]>> wrote:
>>
>>
>>    On Fri, Jan 23, 2009 at 1:02 PM, Mauro Talevi
>>    <[email protected]
>>    <mailto:[email protected]>> wrote:
>>
>>        aslak hellesoy wrote:
>>
>>            Hi gang,
>>
>>            With a little JRuby love I managed to hook Cucumber
>>            (http://cukes.info/) up to JBehave. My latest commit:
>>
>>  
>> http://github.com/aslakhellesoy/cucumber/commit/855e033832e19b5ad248c57cfb4abc8f72fa2da0
>>
>>            What this means is that it will be possible to use Cucumber
>>            with Java, implementing steps simply by subclassing
>>            org.jbehave.scenario.steps.Steps. I don't use the Scenario
>>            or runner classes. The README in the link above
>>            explains why this is interesting.
>>
>>            I'm planning to package Cucumber in an executable
>>            cucumber.jar file so people can run it from the command line,
>>            just like the pure ruby version.
>>
>>            Any thoughts on this?
>>
>>            Aslak (::)
>>
>>
>>        Ehi Asklak,
>>
>>        welcome back to Java-land :-)
>>
>>        Very interesting stuff - I'll have a closer look and sniff at
>>        weekend. But looks promising ...
>>
>>
>>    Glad you like it. Here is how to try it out until I package a more
>>    user-friendly release:
>>
>>    Install jruby and git or msysgit
>>
>>    git clone git://github.com/aslakhellesoy/cucumber.git
>>    <http://github.com/aslakhellesoy/cucumber.git> # A little slow - I
>>    need to http://kerneltrap.org/mailarchive/git/2007/10/7/331471
>>    jruby -S gem install diff-lcs treetop rspec term-ansicolor
>>    cd cucumber
>>    git checkout -b ast
>>    git pull origin ast
>>    cd examples/jbehave
>>    mvn compile jar:jar
>>    jruby ../../bin/cucumber features
>>    jruby ../../bin/cucumber features/trading.feature:5:22 # Only run
>>    first and last scenario
>>
>
> Aslak,
>
> I've been doing through the todo list above and on second step I get
> failure:
>
>  jruby -S gem install diff-lcs treetop rspec term-ansicolor
> JRuby limited openssl loaded. gem install jruby-openssl for full support.
> http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
> Bulk updating Gem source index for: http://gems.rubyforge.org/
> ERROR:  While executing gem ... (Gem::RemoteSourceException)
>    Error fetching remote gem cache: ParserException while scanning a block
> mapping we had this expected <block end>, but found
> org.jvyamlb.tokens.ScalarToken
>

This just means one of the mirrors serving gems was not responding.
Did you try more than once?

> with
>
> jruby -v
> ruby 1.8.6 (2008-05-28 rev 6586) [i386-jruby1.1.2]
>
> Not sure if the missing gem is essential or not. In general, though, it'd be
> much more appealing if we would have access to it via a jar.
>
> Any chance of getting the jar packaged and uploaded somewhere?
>

Working on it

> Cheers
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>   http://xircles.codehaus.org/manage_email
>
>
>



-- 
Aslak (::)

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to