I believe I commented something to you before in the cucumber mailing list.
However, the error was related to a gem using Ruby 1.8.x (msvcrt-ruby18.dll)
Please provide the backtrace that you're getting the error. Try
running cucumber with trace/verbose options (dunno how)
It could be a gem that cucumber uses that is triggering this.
We need more information to recreate the issue, like some sample code
(always provide that, is very helpful)
--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry
On Tue, Oct 19, 2010 at 1:06 PM, Arve Knudsen <arve.k...@gmail.com> wrote:I believe I commented something to you before in the cucumber mailing list.
> Hello
> I've just installed the latest Cucumber (from git) on Ruby 1.9.2-p0
> installed by RubyInstaller, and just invoking cucumber causes ruby to crash.
> The error message looks like this:
> [BUG] cross-thread violation on rb_gc()
> (null)
>
Please provide the backtrace that you're getting the error. Try
running cucumber with trace/verbose options (dunno how)
We need more information to recreate the issue, like some sample code
(always provide that, is very helpful)
I cannot reproduce:
C:\Users\Luis\projects\oss>git clone git://github.com/aslakhellesoy/cucumber.git
...
C:\Users\Luis\projects\oss>cd cucumber
C:\Users\Luis\Projects\oss\cucumber>ruby -v
ruby 1.9.2p0 (2010-08-18) [i386-mingw32]
C:\Users\Luis\Projects\oss\cucumber>ruby -Ilib bin\cucumber
<internal:lib/rubygems/custom_require>:29:in `require': no such file
to load -- gherkin (LoadError)
from <internal:lib/rubygems/custom_require>:29:in `require'
from C:/Users/Luis/Projects/oss/cucumber/lib/cucumber/cli/main.rb:5:in
`rescue in <top (required)>'
from C:/Users/Luis/Projects/oss/cucumber/lib/cucumber/cli/main.rb:1:in
`<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from bin/cucumber:5:in `<main>'
C:\Users\Luis\Projects\oss\cucumber>gem install gherkin
Successfully installed term-ansicolor-1.0.5
Successfully installed gherkin-2.2.9-x86-mingw32
2 gems installed
C:\Users\Luis\Projects\oss\cucumber>ruby -Ilib bin\cucumber -h
*** WARNING: You must "gem install win32console" (1.2.0 or higher) to
get coloured output on MRI/Windows
Usage: cucumber [options] [ [FILE|DIR|URL][:LINE[:LINE]*] ]+
Examples:
cucumber examples/i18n/en/features
cucumber @rerun.txt (See --format rerun)
cucumber examples/i18n/it/features/somma.feature:6:98:113
cucumber -s -i http://rubyurl.com/eeCl
[...]
Can you try the same steps?
Please uninstall json as that particular version lacks binaries for Ruby 1.9
That could be generating a segfault (bug) if you copied or installed
Ruby 1.8 to resolve a "missing msvcrt-ruby18.dll" popup.
To get JSON working please download the DevKit and follow the
installation instructions ehre:
http://rubyinstaller.org/downloads
http://github.com/oneclick/rubyinstaller/wiki/Development-Kit
2010/10/19 Arve Knudsen <arve.k...@gmail.com>:
>Please uninstall json as that particular version lacks binaries for Ruby 1.9
> PS C:\Users\Arve\Projects\Cucumber> gem list
> *** LOCAL GEMS ***
> builder (2.1.2)
> bundler (1.0.3)
> cucumber (0.9.3)
> diff-lcs (1.1.2)
> gherkin (2.2.9 x86-mingw32)
> json (1.4.6 x86-mingw32)
> minitest (1.6.0)
> nokogiri (1.4.3.1 x86-mingw32)
That could be generating a segfault (bug) if you copied or installed
Ruby 1.8 to resolve a "missing msvcrt-ruby18.dll" popup.
To get JSON working please download the DevKit and follow the
installation instructions ehre:
http://rubyinstaller.org/downloads
http://github.com/oneclick/rubyinstaller/wiki/Development-Kit