-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error creating formatter: PrettyFace::Formatter::HTML (Gem::LoadError) #34
Comments
Do you have 'syntax' gem installed or in your gemfile? |
@iaacek Nope i don't have in either gem installed or gem file *** LOCAL GEMS *** actionpack (4.1.4) |
@iaacek when i install syntax gem then i get the below error running ma cucumber uninitialized constant Syntax::Ruby::Set (NameError) Once i uninstall the syntax gem then cucumber runs fine |
Interesting. Because looking at my gemfile.lock there is: so it's dependency for pretty_face and according to 'gem list' I have 'syntax (1.2.0)' installed. Also the first line in the error you posted says: Could not find 'syntax' ... Not sure why cucumber complains about syntax, try maybe add syntax to your gemfile although it shouldn't be needed. I would also search the whole code for 'syntax' expression just to be sure. My cucumber is working fine with syntax installed... |
@iaacek can you please confirm your cucumber and syntax version ? FYI : i haven't installed syntax gem in ma machine currently |
My gem list: *** LOCAL GEMS *** actionpack (4.1.4, 4.0.4) I would play around with syntax a bit if I were you. |
@iaacek thanks a lot. will look into this. My gems are pretty much the same as yours. What you think would be causing this issues? |
@sahithya can you look into this pls |
+1 |
For whatever it's worth, I get the same issue as mentioned above.
I've done some searching but everything I've found seems to hinge on having Syntax as part of your gem file, which I do. |
+1 Any updates on this guys |
Hi Guys,
When i tried to create pretty face report i get the below error
i used pretty_face as :: calabash-android run tablet_build5.apk --format PrettyFace::Formatter::HTML --out result/index.html --tags @clean LOGIN=[email protected]:qwerty
Could not find 'syntax' (>= 0) among 199 total gem(s)
'Error creating formatter: PrettyFace::Formatter::HTML (Gem::LoadError)
/Library/Ruby/Site/2.0.0/rubygems/dependency.rb:298:in
to_specs' /Library/Ruby/Site/2.0.0/rubygems/specification.rb:1295:in
block in activate_dependencies'/Library/Ruby/Site/2.0.0/rubygems/specification.rb:1284:in
each' /Library/Ruby/Site/2.0.0/rubygems/specification.rb:1284:in
activate_dependencies'/Library/Ruby/Site/2.0.0/rubygems/specification.rb:1266:in
activate' /Library/Ruby/Site/2.0.0/rubygems.rb:196:in
rescue in try_activate'/Library/Ruby/Site/2.0.0/rubygems.rb:193:in
try_activate' /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:132:in
rescue in require'/Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:144:in
require' /Library/Ruby/Gems/2.0.0/gems/cucumber-1.3.15/lib/cucumber/constantize.rb:17:in
rescue in constantize'/Library/Ruby/Gems/2.0.0/gems/cucumber-1.3.15/lib/cucumber/constantize.rb:6:in
constantize' /Library/Ruby/Gems/2.0.0/gems/cucumber-1.3.15/lib/cucumber/cli/configuration.rb:83:in
formatter_class'/Library/Ruby/Gems/2.0.0/gems/cucumber-1.3.15/lib/cucumber/cli/configuration.rb:182:in
block in formatters' /Library/Ruby/Gems/2.0.0/gems/cucumber-1.3.15/lib/cucumber/cli/configuration.rb:178:in
map'/Library/Ruby/Gems/2.0.0/gems/cucumber-1.3.15/lib/cucumber/cli/configuration.rb:178:in
formatters' /Library/Ruby/Gems/2.0.0/gems/cucumber-1.3.15/lib/cucumber/cli/configuration.rb:76:in
build_tree_walker'/Library/Ruby/Gems/2.0.0/gems/cucumber-1.3.15/lib/cucumber/runtime.rb:46:in
run!' /Library/Ruby/Gems/2.0.0/gems/cucumber-1.3.15/lib/cucumber/cli/main.rb:47:in
execute!'/Library/Ruby/Gems/2.0.0/gems/cucumber-1.3.15/bin/cucumber:13:in
<top (required)>' /usr/bin/cucumber:23:in
load'/usr/bin/cucumber:23:in `
Can you please help me with this ?
The text was updated successfully, but these errors were encountered: