Hi,
I am playing with the beta of rails 3 and have setup my system with
the latest cucumber, cucumber-rails and rspec gems. Now when I run
"rake cucumber" it runs the tests fine, but when running "cucumber" I
get an exception:
mac:test.project marknijhof$ cucumber
Using the default profile...
WARNING: no such file to load -- gherkin/c_lexer. Reverting to Ruby
lexer. (RuntimeError)
/opt/local/lib/ruby/gems/1.8/gems/gherkin-1.0.20/lib/gherkin/i18n.rb:106:in
`lexer'
/opt/local/lib/ruby/gems/1.8/gems/gherkin-1.0.20/lib/gherkin/parser/parser.rb:118:in
`transition_table'
/opt/local/lib/ruby/gems/1.8/gems/gherkin-1.0.20/lib/gherkin/parser/parser.rb:107:in
`build_transition_map'
/opt/local/lib/ruby/gems/1.8/gems/gherkin-1.0.20/lib/gherkin/parser/parser.rb:103:in
`transition_map'
/opt/local/lib/ruby/gems/1.8/gems/gherkin-1.0.20/lib/gherkin/parser/parser.rb:70:in
`initialize'
/opt/local/lib/ruby/gems/1.8/gems/gherkin-1.0.20/lib/gherkin/parser/parser.rb:47:in
`new'
/opt/local/lib/ruby/gems/1.8/gems/gherkin-1.0.20/lib/gherkin/parser/parser.rb:47:in
`push_machine'
/opt/local/lib/ruby/gems/1.8/gems/gherkin-1.0.20/lib/gherkin/parser/parser.rb:19:in
`initialize'
/opt/local/lib/ruby/gems/1.8/gems/cucumber-0.7.0.beta.4/bin/../lib/cucumber/feature_file.rb:31:in
`new'
/opt/local/lib/ruby/gems/1.8/gems/cucumber-0.7.0.beta.4/bin/../lib/cucumber/feature_file.rb:31:in
`parse'
/opt/local/lib/ruby/gems/1.8/gems/cucumber-0.7.0.beta.4/bin/../lib/cucumber/step_mother.rb:61:in
`load_plain_text_features'
/opt/local/lib/ruby/gems/1.8/gems/cucumber-0.7.0.beta.4/bin/../lib/cucumber/step_mother.rb:59:in
`each'
/opt/local/lib/ruby/gems/1.8/gems/cucumber-0.7.0.beta.4/bin/../lib/cucumber/step_mother.rb:59:in
`load_plain_text_features'
/opt/local/lib/ruby/gems/1.8/gems/cucumber-0.7.0.beta.4/bin/../lib/cucumber/cli/main.rb:56:in
`execute!'
/opt/local/lib/ruby/gems/1.8/gems/cucumber-0.7.0.beta.4/bin/../lib/cucumber/cli/main.rb:26:in
`execute'
/opt/local/lib/ruby/gems/1.8/gems/cucumber-0.7.0.beta.4/bin/cucumber:8
/opt/local/bin/cucumber:19:in `load'
/opt/local/bin/cucumber:19
gems file:
gem 'rails', '3.0.0.beta3'
gem 'sqlite3-ruby', :require => 'sqlite3'
gem 'capybara'
gem 'database_cleaner'
#gem 'cucumber-rails'
gem 'cucumber-rails', :git =>
'git://
github.com/aslakhellesoy/cucumber-rails.git'
gem "rspec-rails", ">= 2.0.0.beta.1"
And of course the same happens with the autotest functionality, I was
wondering if this is something that I missed or failed to do or if it
is because it is all still very new :)
-Mark
--
Mark Nijhof
Cre8ive Thought
m: 0047 95 00 99 37
e:
mark....@cre8ivethought.com
w:
www.cre8ivethought.com
--
You received this message because you are subscribed to the Google Groups "Cukes" group.
To post to this group, send email to
cu...@googlegroups.com.
To unsubscribe from this group, send email to
cukes+un...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/cukes?hl=en.