I have the same problem in 64 or 32 bits
On 6 May 2013 14:25, Joe Fleck <[email protected]> wrote: > Hi, > > Are you using 64 or 32 bit windows machine? > > Joe > On May 6, 2013 8:20 AM, "LuisE" <[email protected]> wrote: > >> Hello, I am trying to use Watir with Cucumber in Windows 7(I use ruby 2.0 >> and gherkin 2.12.0) and It doesn't work fine. It always give the same error: >> >> WARNING: cannot load such file — 2.0/gherkin_lexer_en >> Couldn’t load 2.0/gherkin_lexer_en >> The $LOAD_PATH was: >> lib >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/cucumber-1.3.1/bin/../lib >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-2.13.0/lib >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-mocks-2.13.1/lib >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-expectations-2.13.0/lib >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/rspec-core-2.13.1/lib >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/page-object-0.8.10/lib >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/watir-webdriver-0.6.4/lib >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/selenium-webdriver-2.32.1/lib >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/websocket-1.0.7/lib >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/rubyzip-0.9.9/lib >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/page_navigation-0.9/lib >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/data_magic-0.14/lib >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/yml_reader-0.2/lib >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/faker-1.1.2/lib >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/i18n-0.6.4/lib >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/cucumber-1.3.1/lib >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/gherkin-2.12.0-x86-mingw32/lib >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/multi_json-1.7.3/lib >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/diff-lcs-1.2.4/lib >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/childprocess-0.3.9/lib >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/ffi-1.8.1-x86-mingw32/lib >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/ffi-1.8.1-x86-mingw32/ext/ffi_c >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/builder-3.2.0/lib >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib >> C:/Program Files/JetBrains/RubyMine 5.4.1/rb/testing/patch/common >> C:/Program Files/JetBrains/RubyMine 5.4.1/rb/testing/patch/bdd >> C:/Ruby200/lib/ruby/site_ruby/2.0.0 >> C:/Ruby200/lib/ruby/site_ruby/2.0.0/i386-msvcrt >> C:/Ruby200/lib/ruby/site_ruby >> C:/Ruby200/lib/ruby/vendor_ruby/2.0.0 >> C:/Ruby200/lib/ruby/vendor_ruby/2.0.0/i386-msvcrt >> C:/Ruby200/lib/ruby/vendor_ruby >> C:/Ruby200/lib/ruby/2.0.0 >> C:/Ruby200/lib/ruby/2.0.0/i386-mingw32. Reverting to Ruby lexer. >> No lexer was found for en (cannot load such file — gherkin/lexer/en). >> Supported languages are listed in gherkin/i18n.json. >> (Gherkin::I18n::LexerNotFound) >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/gherkin-2.12.0-x86-mingw32/lib/gherkin/i18n.rb:108:in >> `rescue in lexer’ >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/gherkin-2.12.0-x86-mingw32/lib/gherkin/i18n.rb:97:in >> `lexer’ >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/gherkin-2.12.0-x86-mingw32/lib/gherkin/parser/parser.rb:139:in >> `transition_table’ >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/gherkin-2.12.0-x86-mingw32/lib/gherkin/parser/parser.rb:128:in >> `build_transition_map’ >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/gherkin-2.12.0-x86-mingw32/lib/gherkin/parser/parser.rb:124:in >> `transition_map’ >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/gherkin-2.12.0-x86-mingw32/lib/gherkin/parser/parser.rb:91:in >> `initialize’ >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/gherkin-2.12.0-x86-mingw32/lib/gherkin/parser/parser.rb:68:in >> `new’ >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/gherkin-2.12.0-x86-mingw32/lib/gherkin/parser/parser.rb:68:in >> `push_machine’ >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/gherkin-2.12.0-x86-mingw32/lib/gherkin/parser/parser.rb:31:in >> `parse’ >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/cucumber-1.3.1/lib/cucumber/feature_file.rb:37:in >> `parse’ >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/cucumber-1.3.1/lib/cucumber/runtime/features_loader.rb:28:in >> `block in load’ >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/cucumber-1.3.1/lib/cucumber/runtime/features_loader.rb:26:in >> `each’ >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/cucumber-1.3.1/lib/cucumber/runtime/features_loader.rb:26:in >> `load’ >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/cucumber-1.3.1/lib/cucumber/runtime/features_loader.rb:14:in >> `features’ >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/cucumber-1.3.1/lib/cucumber/runtime.rb:178:in >> `features’ >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/cucumber-1.3.1/lib/cucumber/runtime.rb:48:in >> `run!’ >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/cucumber-1.3.1/lib/cucumber/cli/main.rb:47:in >> `execute!’ >> C:/Ruby200/lib/ruby/gems/2.0.0/gems/cucumber-1.3.1/bin/cucumber:13:in `’ >> C:/Ruby200/bin/cucumber:23:in `load’ >> C:/Ruby200/bin/cucumber:23:in `’ >> -e:1:in `load’ >> -e:1:in `’ >> >> Process finished with exit code 1 >> Empty test suite. >> >> >> >> Does anybody know the problem? >> Thanks in advance >> >> >> -- >> -- >> Before posting, please read http://watir.com/support. In short: search >> before you ask, be nice. >> >> [email protected] >> http://groups.google.com/group/watir-general >> [email protected] >> >> --- >> You received this message because you are subscribed to the Google Groups >> "Watir General" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > -- > -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > [email protected] > http://groups.google.com/group/watir-general > [email protected] > > --- > You received this message because you are subscribed to the Google Groups > "Watir General" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected] --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
