Javix | 17 Jul 2012 13:53
Picon
Gravatar

[Cucumber] [Ruby]WARNINGING: cannot load such file -- 1.9/gherkin_lexer_en

Running 'cucumber' command on a Windows XP box gave the following warning message:

[Ruby]WARNINGING: cannot load such file -- 1.9/gherkin_lexer_en

All the rest features were run without problems.

ruby version: ruby 1.9.3p194 (2012-04-20) [i386-mingw32]
Installed gems:

*** LOCAL GEMS ***

actionmailer (3.2.6)
actionpack (3.2.6)
activemodel (3.2.6)
activerecord (3.2.6)
activerecord-oracle_enhanced-adapter (1.4.1)
activeresource (3.2.6)
activesupport (3.2.6)
addressable (2.2.8)
arel (3.0.2)
bigdecimal (1.1.0)
bootstrap-sass (2.0.4.0)
builder (3.0.0)
bundler (1.1.4)
capybara (1.1.2)
childprocess (0.3.3)
coffee-rails (3.2.2)
coffee-script (2.2.0)
coffee-script-source (1.3.3)
cucumber (1.2.1)
database_cleaner (0.8.0)
diff-lcs (1.1.3)
erubis (2.7.0)
execjs (1.4.0)
factory_girl (3.5.0)
factory_girl_rails (3.5.0)
faker (1.0.1)
ffi (1.0.11)
gherkin (2.11.1)
guard (1.2.3)
guard-rspec (1.2.0)
hike (1.2.1)
i18n (0.6.0)
io-console (0.3)
journey (1.0.4)
jquery-rails (2.0.2)
json (1.5.4)
libwebsocket (0.1.3)
listen (0.4.7)
mail (2.4.4)
mime-types (1.19)
minitest (2.5.1)
multi_json (1.3.6)
nokogiri (1.5.5 x86-mingw32)
oracle_enhanced (1.2.5)
polyglot (0.3.3)
rack (1.4.1)
rack-cache (1.2)
rack-ssl (1.3.2)
rack-test (0.6.1)
rails (3.2.6)
railties (3.2.6)
rake (0.9.2.2)
rb-fchange (0.0.5)
rb-fsevent (0.9.1)
rb-inotify (0.8.8)
rb-notifu (0.0.4)
rdoc (3.9.4)
rspec-core (2.10.1)
rspec-expectations (2.10.0)
rspec-mocks (2.10.1)
ruby-oci8 (2.1.2 x86-mingw32)
ruby-ole (1.2.11.4)
rubyzip (0.9.9)
sass (3.1.20)
sass-rails (3.2.5)
selenium-webdriver (2.24.0)
spreadsheet (0.7.3)
sprockets (2.1.3)
sqlite3 (1.3.6 x86-mingw32)
thor (0.15.4)
tilt (1.3.3)
treetop (1.4.10)
tzinfo (0.3.33)
uglifier (1.2.6)
win32console (1.3.2)
xpath (0.1.4)

Any idea on how is it important and how to fix ot? Thanks.


--
-- Rules --
 
1) Please prefix the subject with [Ruby], [JVM] or [JS].
2) Please use interleaved answers http://en.wikipedia.org/wiki/Posting_style#Interleaved_style
3) If you have a question, don't reply to an existing message. Start a new topic instead.
 
You received this message because you are subscribed to the Google Groups Cukes group. To post to this group, send email to cukes-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to cukes+unsubscribe <at> googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/cukes?hl=en
 
 
Javix | 17 Jul 2012 13:54
Picon
Gravatar

[Cucumber] Re: [Ruby]WARNING: cannot load such file -- 1.9/gherkin_lexer_en



On Tuesday, 17 July 2012 13:53:33 UTC+2, Javix wrote:
Running 'cucumber' command on a Windows XP box gave the following warning message:

[Ruby]WARNINGING: cannot load such file -- 1.9/gherkin_lexer_en

All the rest features were run without problems.

ruby version: ruby 1.9.3p194 (2012-04-20) [i386-mingw32]
Installed gems:

*** LOCAL GEMS ***

actionmailer (3.2.6)
actionpack (3.2.6)
activemodel (3.2.6)
activerecord (3.2.6)
activerecord-oracle_enhanced-adapter (1.4.1)
activeresource (3.2.6)
activesupport (3.2.6)
addressable (2.2.8)
arel (3.0.2)
bigdecimal (1.1.0)
bootstrap-sass (2.0.4.0)
builder (3.0.0)
bundler (1.1.4)
capybara (1.1.2)
childprocess (0.3.3)
coffee-rails (3.2.2)
coffee-script (2.2.0)
coffee-script-source (1.3.3)
cucumber (1.2.1)
database_cleaner (0.8.0)
diff-lcs (1.1.3)
erubis (2.7.0)
execjs (1.4.0)
factory_girl (3.5.0)
factory_girl_rails (3.5.0)
faker (1.0.1)
ffi (1.0.11)
gherkin (2.11.1)
guard (1.2.3)
guard-rspec (1.2.0)
hike (1.2.1)
i18n (0.6.0)
io-console (0.3)
journey (1.0.4)
jquery-rails (2.0.2)
json (1.5.4)
libwebsocket (0.1.3)
listen (0.4.7)
mail (2.4.4)
mime-types (1.19)
minitest (2.5.1)
multi_json (1.3.6)
nokogiri (1.5.5 x86-mingw32)
oracle_enhanced (1.2.5)
polyglot (0.3.3)
rack (1.4.1)
rack-cache (1.2)
rack-ssl (1.3.2)
rack-test (0.6.1)
rails (3.2.6)
railties (3.2.6)
rake (0.9.2.2)
rb-fchange (0.0.5)
rb-fsevent (0.9.1)
rb-inotify (0.8.8)
rb-notifu (0.0.4)
rdoc (3.9.4)
rspec-core (2.10.1)
rspec-expectations (2.10.0)
rspec-mocks (2.10.1)
ruby-oci8 (2.1.2 x86-mingw32)
ruby-ole (1.2.11.4)
rubyzip (0.9.9)
sass (3.1.20)
sass-rails (3.2.5)
selenium-webdriver (2.24.0)
spreadsheet (0.7.3)
sprockets (2.1.3)
sqlite3 (1.3.6 x86-mingw32)
thor (0.15.4)
tilt (1.3.3)
treetop (1.4.10)
tzinfo (0.3.33)
uglifier (1.2.6)
win32console (1.3.2)
xpath (0.1.4)

Any idea on how is it important and how to fix ot? Thanks.


--
-- Rules --
 
1) Please prefix the subject with [Ruby], [JVM] or [JS].
2) Please use interleaved answers http://en.wikipedia.org/wiki/Posting_style#Interleaved_style
3) If you have a question, don't reply to an existing message. Start a new topic instead.
 
You received this message because you are subscribed to the Google Groups Cukes group. To post to this group, send email to cukes-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to cukes+unsubscribe <at> googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/cukes?hl=en
 
 
aslak hellesoy | 17 Jul 2012 14:42
Picon
Gravatar

Re: [Cucumber] [Ruby]WARNINGING: cannot load such file -- 1.9/gherkin_lexer_en

On Tue, Jul 17, 2012 at 12:53 PM, Javix <s.cambour@...> wrote:
> Running 'cucumber' command on a Windows XP box gave the following warning
> message:
>
> [Ruby]WARNINGING: cannot load such file -- 1.9/gherkin_lexer_en
>

It actually says WARNINGING? (note the spelling).
Cucumber or Gherkin would never print that message so in order to find
out where this comes from, please search in all your ruby code
(including gems) to find out where it's printed from.

BTW, just tried to run cucumber on Windows with the same ruby version
and the following gems:

bigdecimal (1.1.0)
builder (3.0.0)
cucumber (1.2.1)
diff-lcs (1.1.3)
gherkin (2.11.1 x86-mingw32)
io-console (0.3)
json (1.5.4)
minitest (2.5.1)
rake (0.9.2.2)
rdoc (3.9.4)

No warnings - works fine.

Aslak

> All the rest features were run without problems.
>
> ruby version: ruby 1.9.3p194 (2012-04-20) [i386-mingw32]
> Installed gems:
>
> *** LOCAL GEMS ***
>
> actionmailer (3.2.6)
> actionpack (3.2.6)
> activemodel (3.2.6)
> activerecord (3.2.6)
> activerecord-oracle_enhanced-adapter (1.4.1)
> activeresource (3.2.6)
> activesupport (3.2.6)
> addressable (2.2.8)
> arel (3.0.2)
> bigdecimal (1.1.0)
> bootstrap-sass (2.0.4.0)
> builder (3.0.0)
> bundler (1.1.4)
> capybara (1.1.2)
> childprocess (0.3.3)
> coffee-rails (3.2.2)
> coffee-script (2.2.0)
> coffee-script-source (1.3.3)
> cucumber (1.2.1)
> database_cleaner (0.8.0)
> diff-lcs (1.1.3)
> erubis (2.7.0)
> execjs (1.4.0)
> factory_girl (3.5.0)
> factory_girl_rails (3.5.0)
> faker (1.0.1)
> ffi (1.0.11)
> gherkin (2.11.1)
> guard (1.2.3)
> guard-rspec (1.2.0)
> hike (1.2.1)
> i18n (0.6.0)
> io-console (0.3)
> journey (1.0.4)
> jquery-rails (2.0.2)
> json (1.5.4)
> libwebsocket (0.1.3)
> listen (0.4.7)
> mail (2.4.4)
> mime-types (1.19)
> minitest (2.5.1)
> multi_json (1.3.6)
> nokogiri (1.5.5 x86-mingw32)
> oracle_enhanced (1.2.5)
> polyglot (0.3.3)
> rack (1.4.1)
> rack-cache (1.2)
> rack-ssl (1.3.2)
> rack-test (0.6.1)
> rails (3.2.6)
> railties (3.2.6)
> rake (0.9.2.2)
> rb-fchange (0.0.5)
> rb-fsevent (0.9.1)
> rb-inotify (0.8.8)
> rb-notifu (0.0.4)
> rdoc (3.9.4)
> rspec-core (2.10.1)
> rspec-expectations (2.10.0)
> rspec-mocks (2.10.1)
> ruby-oci8 (2.1.2 x86-mingw32)
> ruby-ole (1.2.11.4)
> rubyzip (0.9.9)
> sass (3.1.20)
> sass-rails (3.2.5)
> selenium-webdriver (2.24.0)
> spreadsheet (0.7.3)
> sprockets (2.1.3)
> sqlite3 (1.3.6 x86-mingw32)
> thor (0.15.4)
> tilt (1.3.3)
> treetop (1.4.10)
> tzinfo (0.3.33)
> uglifier (1.2.6)
> win32console (1.3.2)
> xpath (0.1.4)
>
> Any idea on how is it important and how to fix ot? Thanks.
>
>
> --
> -- Rules --
>
> 1) Please prefix the subject with [Ruby], [JVM] or [JS].
> 2) Please use interleaved answers
> http://en.wikipedia.org/wiki/Posting_style#Interleaved_style
> 3) If you have a question, don't reply to an existing message. Start a new
> topic instead.
>
> You received this message because you are subscribed to the Google Groups
> Cukes group. To post to this group, send email to
cukes@... To
> unsubscribe from this group, send email to
> cukes+unsubscribe@... For more options, visit
this group at
> https://groups.google.com/d/forum/cukes?hl=en
>
>

--

-- 
-- Rules --

1) Please prefix the subject with [Ruby], [JVM] or [JS].
2) Please use interleaved answers http://en.wikipedia.org/wiki/Posting_style#Interleaved_style
3) If you have a question, don't reply to an existing message. Start a new topic instead.

You received this message because you are subscribed to the Google Groups Cukes group. To post to this
group, send email to cukes@... To unsubscribe from
this group, send email to cukes+unsubscribe <at> googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/cukes?hl=en

aslak hellesoy | 17 Jul 2012 14:45
Picon
Gravatar

Re: [Cucumber] [Ruby]WARNINGING: cannot load such file -- 1.9/gherkin_lexer_en

On Tue, Jul 17, 2012 at 1:42 PM, aslak hellesoy
<aslak.hellesoy@...> wrote:
> On Tue, Jul 17, 2012 at 12:53 PM, Javix <s.cambour@...> wrote:
>> Running 'cucumber' command on a Windows XP box gave the following warning
>> message:
>>
>> [Ruby]WARNINGING: cannot load such file -- 1.9/gherkin_lexer_en
>>
>
> It actually says WARNINGING? (note the spelling).
> Cucumber or Gherkin would never print that message so in order to find
> out where this comes from, please search in all your ruby code
> (including gems) to find out where it's printed from.
>
> BTW, just tried to run cucumber on Windows with the same ruby version
> and the following gems:
>
> bigdecimal (1.1.0)
> builder (3.0.0)
> cucumber (1.2.1)
> diff-lcs (1.1.3)
> gherkin (2.11.1 x86-mingw32)
> io-console (0.3)
> json (1.5.4)
> minitest (2.5.1)
> rake (0.9.2.2)
> rdoc (3.9.4)
>

Looking at that again. I have:
gherkin (2.11.1 x86-mingw32)

You have:
gherkin (2.11.1)

That is - you don't have the gherkin gem with precompiled C
extensions. Somehow you have managed to install the POSIX version of
the gherkin gem (the one where C extensions are built on your
machine).
Not sure how that happened.

Aslak

> No warnings - works fine.
>
> Aslak
>
>> All the rest features were run without problems.
>>
>> ruby version: ruby 1.9.3p194 (2012-04-20) [i386-mingw32]
>> Installed gems:
>>
>> *** LOCAL GEMS ***
>>
>> actionmailer (3.2.6)
>> actionpack (3.2.6)
>> activemodel (3.2.6)
>> activerecord (3.2.6)
>> activerecord-oracle_enhanced-adapter (1.4.1)
>> activeresource (3.2.6)
>> activesupport (3.2.6)
>> addressable (2.2.8)
>> arel (3.0.2)
>> bigdecimal (1.1.0)
>> bootstrap-sass (2.0.4.0)
>> builder (3.0.0)
>> bundler (1.1.4)
>> capybara (1.1.2)
>> childprocess (0.3.3)
>> coffee-rails (3.2.2)
>> coffee-script (2.2.0)
>> coffee-script-source (1.3.3)
>> cucumber (1.2.1)
>> database_cleaner (0.8.0)
>> diff-lcs (1.1.3)
>> erubis (2.7.0)
>> execjs (1.4.0)
>> factory_girl (3.5.0)
>> factory_girl_rails (3.5.0)
>> faker (1.0.1)
>> ffi (1.0.11)
>> gherkin (2.11.1)
>> guard (1.2.3)
>> guard-rspec (1.2.0)
>> hike (1.2.1)
>> i18n (0.6.0)
>> io-console (0.3)
>> journey (1.0.4)
>> jquery-rails (2.0.2)
>> json (1.5.4)
>> libwebsocket (0.1.3)
>> listen (0.4.7)
>> mail (2.4.4)
>> mime-types (1.19)
>> minitest (2.5.1)
>> multi_json (1.3.6)
>> nokogiri (1.5.5 x86-mingw32)
>> oracle_enhanced (1.2.5)
>> polyglot (0.3.3)
>> rack (1.4.1)
>> rack-cache (1.2)
>> rack-ssl (1.3.2)
>> rack-test (0.6.1)
>> rails (3.2.6)
>> railties (3.2.6)
>> rake (0.9.2.2)
>> rb-fchange (0.0.5)
>> rb-fsevent (0.9.1)
>> rb-inotify (0.8.8)
>> rb-notifu (0.0.4)
>> rdoc (3.9.4)
>> rspec-core (2.10.1)
>> rspec-expectations (2.10.0)
>> rspec-mocks (2.10.1)
>> ruby-oci8 (2.1.2 x86-mingw32)
>> ruby-ole (1.2.11.4)
>> rubyzip (0.9.9)
>> sass (3.1.20)
>> sass-rails (3.2.5)
>> selenium-webdriver (2.24.0)
>> spreadsheet (0.7.3)
>> sprockets (2.1.3)
>> sqlite3 (1.3.6 x86-mingw32)
>> thor (0.15.4)
>> tilt (1.3.3)
>> treetop (1.4.10)
>> tzinfo (0.3.33)
>> uglifier (1.2.6)
>> win32console (1.3.2)
>> xpath (0.1.4)
>>
>> Any idea on how is it important and how to fix ot? Thanks.
>>
>>
>> --
>> -- Rules --
>>
>> 1) Please prefix the subject with [Ruby], [JVM] or [JS].
>> 2) Please use interleaved answers
>> http://en.wikipedia.org/wiki/Posting_style#Interleaved_style
>> 3) If you have a question, don't reply to an existing message. Start a new
>> topic instead.
>>
>> You received this message because you are subscribed to the Google Groups
>> Cukes group. To post to this group, send email to cukes@.... To
>> unsubscribe from this group, send email to
>> cukes+unsubscribe@... For more options, visit
this group at
>> https://groups.google.com/d/forum/cukes?hl=en
>>
>>

--

-- 
-- Rules --

1) Please prefix the subject with [Ruby], [JVM] or [JS].
2) Please use interleaved answers http://en.wikipedia.org/wiki/Posting_style#Interleaved_style
3) If you have a question, don't reply to an existing message. Start a new topic instead.

You received this message because you are subscribed to the Google Groups Cukes group. To post to this
group, send email to cukes@... To unsubscribe from
this group, send email to cukes+unsubscribe <at> googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/cukes?hl=en

Rob Hunter | 17 Jul 2012 14:46
Picon
Gravatar

Re: [Cucumber] [Ruby]WARNINGING: cannot load such file -- 1.9/gherkin_lexer_en

On Jul 17, 2012 9:53 PM, "Javix" <s.cambour-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> Running 'cucumber' command on a Windows XP box gave the following warning message:
>
> [Ruby]WARNINGING: cannot load such file -- 1.9/gherkin_lexer_en

Does it give you that exact warning message? The strange wording makes me wonder about it.

"WARNING" vs
"WARNINGING"

"no such file" or "cannot load" vs
"cannot load such file"

I expect wording like the first. I see three possibilities:

1. The strange wording really is in Ruby, RubyGems, Cucumber or Gherkin. (very unlikely, but should be easy to find)

2. There is a timing/concurrency problem and two regular messages are writing over top of one another. (unlikely, but might be very difficult to trace)

3. The messages are generated by your own code, not part of Cucumber/Gherkin/Ruby. (most likely, but also easy to find)

Problem 1 and problem 3 are easy to find because you can just search all the code for the string "WARNINGING" or "cannot load such file".

Good luck!

--
Rob Hunter
(typed with my thumbs)

--
-- Rules --
 
1) Please prefix the subject with [Ruby], [JVM] or [JS].
2) Please use interleaved answers http://en.wikipedia.org/wiki/Posting_style#Interleaved_style
3) If you have a question, don't reply to an existing message. Start a new topic instead.
 
You received this message because you are subscribed to the Google Groups Cukes group. To post to this group, send email to cukes-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to cukes+unsubscribe <at> googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/cukes?hl=en
 
 
Javix | 18 Jul 2012 13:34
Picon
Gravatar

Re: [Cucumber] [Ruby]WARNINGING: cannot load such file -- 1.9/gherkin_lexer_en

Sorry for the typo with 'WARNINGING: cannot load such file -- 1.9/gherkin_lexer_fr', of course it was 'WARNING'.

SEcond point, Aslak was absolutely right about the gherkin gem I used, - 'gherkin' instead of 'gherkin (2.11.1 x86-mingw32)'.
Deleting the gherkin and installing 'gherkin (2.11.1 x86-mingw32)' has solved the problem.

Thank you all very much for the help.

Le mardi 17 juillet 2012 14:46:24 UTC+2, Rob Hunter a écrit :

On Jul 17, 2012 9:53 PM, "Javix" <s.cambour-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> Running 'cucumber' command on a Windows XP box gave the following warning message:
>
> [Ruby]WARNINGING: cannot load such file -- 1.9/gherkin_lexer_en

Does it give you that exact warning message? The strange wording makes me wonder about it.

"WARNING" vs
"WARNINGING"

"no such file" or "cannot load" vs
"cannot load such file"

I expect wording like the first. I see three possibilities:

1. The strange wording really is in Ruby, RubyGems, Cucumber or Gherkin. (very unlikely, but should be easy to find)

2. There is a timing/concurrency problem and two regular messages are writing over top of one another. (unlikely, but might be very difficult to trace)

3. The messages are generated by your own code, not part of Cucumber/Gherkin/Ruby. (most likely, but also easy to find)

Problem 1 and problem 3 are easy to find because you can just search all the code for the string "WARNINGING" or "cannot load such file".

Good luck!

--
Rob Hunter
(typed with my thumbs)

--
-- Rules --
 
1) Please prefix the subject with [Ruby], [JVM] or [JS].
2) Please use interleaved answers http://en.wikipedia.org/wiki/Posting_style#Interleaved_style
3) If you have a question, don't reply to an existing message. Start a new topic instead.
 
You received this message because you are subscribed to the Google Groups Cukes group. To post to this group, send email to cukes-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to cukes+unsubscribe <at> googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/cukes?hl=en
 
 

Gmane