Skip to content
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

Rake install throws error on Centos #68

Open
vinnytroia opened this issue Oct 16, 2018 · 0 comments
Open

Rake install throws error on Centos #68

vinnytroia opened this issue Oct 16, 2018 · 0 comments

Comments

@vinnytroia
Copy link

143 files inspected, no offenses detected
/root/.rbenv/versions/2.4.4/bin/ruby -I/root/.rbenv/versions/2.4.4/lib/ruby/gems/2.4.0/gems/rspec-support-3.8.0/lib:/root/.rbenv/versions/2.4.4/lib/ruby/gems/2.4.0/gems/rspec-core-3.8.0/lib /root/.rbenv/versions/2.4.4/lib/ruby/gems/2.4.0/gems/rspec-core-3.8.0/exe/rspec --pattern spec/**{,/*/**}/*_spec.rb
...F

Failures:

  1. CMSScanner::Controller::Core#setup_cache when no cache_dir supplied (or default) returns nil
    Failure/Error: if PublicSuffix.valid?(element)

    ArgumentError:
    invalid byte sequence in US-ASCII

    ./lib/cms_scanner/target/scope.rb:51:in `<<'

    ./lib/cms_scanner/target.rb:18:in `initialize'

    ./lib/cms_scanner/controller.rb:31:in `new'

    ./lib/cms_scanner/controller.rb:31:in `target'

    ./app/controllers/core.rb:10:in `setup_cache'

    ./spec/app/controllers/core_spec.rb:33:in `block (4 levels) in <top (required)>'

Finished in 0.02935 seconds (files took 1.08 seconds to load)
4 examples, 1 failure

Failed examples:

rspec ./spec/app/controllers/core_spec.rb:32 # CMSScanner::Controller::Core#setup_cache when no cache_dir supplied (or default) returns nil

Coverage report generated for RSpec to /opt/CMSScanner/coverage. 670 / 1221 LOC (54.87%) covered.
/root/.rbenv/versions/2.4.4/bin/ruby -I/root/.rbenv/versions/2.4.4/lib/ruby/gems/2.4.0/gems/rspec-support-3.8.0/lib:/root/.rbenv/versions/2.4.4/lib/ruby/gems/2.4.0/gems/rspec-core-3.8.0/lib /root/.rbenv/versions/2.4.4/lib/ruby/gems/2.4.0/gems/rspec-core-3.8.0/exe/rspec --pattern spec/**{,/*/**}/*_spec.rb failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants