Launchy doesn't work with jruby?

I’m using jruby 1.6.rc3 and cucumber to test my rails application.
I’ve installed launchy gem too.
When in a cucumber story I write:
.
.
.

“Then show me the page”

and I run jruby -S rak cucumber, it says:

fork is not available on this platform (NotImplementedError)
org/jruby/RubyKernel.java:1744:in fork' ./features/step_definitions/web_steps.rb:218:in(root)’:in /^show me the page$/' features/authentication.feature:9:inThen show me the page’

On Mar 14, 2011, at 6:20 AM, Mauro wrote:

fork is not available on this platform (NotImplementedError)
org/jruby/RubyKernel.java:1744:in fork' ./features/step_definitions/web_steps.rb:218:in(root)’:in /^show me the page$/' features/authentication.feature:9:inThen show me the page’

I’ve forwarded your message to the author of launchy. I know that he is
working on some improvements and better cross platform support.

Blessings,
TwP

On Mon, Mar 14, 2011 at 04:51:38PM +0100, Mauro wrote:

I’ve forwarded your message to the author of launchy. I know that he is
working on some improvements and better cross platform support.

Thank you.

And I’m on the jruby list too :-). At the moment launchy requires the
use of
fork, which of course is not supported on jruby. I have a patch
submitted to me
to use the ‘spoon’ gem with launchy, which should work, and maybe I
should just
release that to allow immediate jruby support.

enjoy,

-jeremy

========================================================================
Jeremy H. [email protected]

On 14 March 2011 15:36, Tim P. [email protected] wrote:

“Then show me the page”
I’ve forwarded your message to the author of launchy. I know that he is working
on some improvements and better cross platform support.
Thank you.

On Mon, Mar 14, 2011 at 07:34:08PM +0100, Mauro wrote:

.
features/authentication.feature:9:in `Then show me the page’
release that to allow immediate jruby support.

So I’ve to install also the spoon gem or wait for the patch released?

Wait for the next release of launchy which will have jruby support of
some type.

-jeremy

Jeremy H. [email protected]

On 14 March 2011 18:12, Jeremy H. [email protected]
wrote:

.

I’ve forwarded your message to the author of launchy. I know that he is
working on some improvements and better cross platform support.

Thank you.

And I’m on the jruby list too :-). At the moment launchy requires the use of
fork, which of course is not supported on jruby. I have a patch submitted to me
to use the ‘spoon’ gem with launchy, which should work, and maybe I should just
release that to allow immediate jruby support.

So I’ve to install also the spoon gem or wait for the patch released?

It isn’t solved?

On 14 March 2011 19:36, Jeremy H. [email protected]
wrote:

.
the page$/’
to use the ‘spoon’ gem with launchy, which should work, and maybe I should
just

release that to allow immediate jruby support.

So I’ve to install also the spoon gem or wait for the patch released?

Wait for the next release of launchy which will have jruby support of
some type.

Great! I hope soon.

Hi,
Where is it documented (if anywhere) which native features of Ruby
are
not supported in JRuby? From this thread it is shown that “fork” is one
of
them.

2011/5/12 Mauro [email protected]

In cucumber “show me the page” doesn’t work with jruby while works with
ruby.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs