You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried upgrading to the latest version of screenshot but run into this error when running cucumber tests: undefined method 'html_safe' for #<IO:<STDOUT>> (ActionView::Template::Error)
@arielvalentin sorry to hear that. mkmf was introduced when imgcat support was added, see 29d6f1b. However, looking at that commit now, it's not obvious why mkmf is needed at all. Have you tried just removing the require to see what happens? I am going to ask the author of that commit why he included mkmf, but as far as I can tell, it is not needed...
I tried upgrading to the latest version of screenshot but run into this error when running cucumber tests:
undefined method 'html_safe' for #<IO:<STDOUT>> (ActionView::Template::Error)
The error comes from this block of code:
Which, AFAICT comes from
MakeMakefile::Logging.message
http://www.rubydoc.info/stdlib/mkmf/2.0.0/MakeMakefile/LoggingDoes the library require use of
mkmf
in cucumber?capybara-screenshot/lib/capybara-screenshot/cucumber.rb
Line 2 in 14af3c1
The text was updated successfully, but these errors were encountered: