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

Running tests #1

Open
mongrelion opened this issue Apr 11, 2013 · 1 comment
Open

Running tests #1

mongrelion opened this issue Apr 11, 2013 · 1 comment

Comments

@mongrelion
Copy link

I cloned the repository, installed the dependencies with bundle and am now trying to run tests to no avail. This is the error I'm getting:

mongrelion@squives ~/c/o/openssl_pkcs8 (master) [1]> bundle exec rake
/Users/mongrelion/.rbenv/versions/1.9.3-p392/bin/ruby -I"lib:lib:test" -I"/Users/mongrelion/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib" "/Users/mongrelion/.
rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/rake_test_loader.rb" "test/**/test_*.rb"
/Users/mongrelion/code/os/openssl_pkcs8/lib/openssl_pkcs8.rb:3:in `require': cannot load such file -- openssl_pkcs8/openssl_pkcs8 (LoadError)
        from /Users/mongrelion/code/os/openssl_pkcs8/lib/openssl_pkcs8.rb:3:in `<top (required)>'
        from /Users/mongrelion/code/os/openssl_pkcs8/test/helper.rb:7:in `require'
        from /Users/mongrelion/code/os/openssl_pkcs8/test/helper.rb:7:in `<top (required)>'
        from /Users/mongrelion/code/os/openssl_pkcs8/test/test_openssl_pkcs8.rb:1:in `require_relative'
        from /Users/mongrelion/code/os/openssl_pkcs8/test/test_openssl_pkcs8.rb:1:in `<top (required)>'
        from /Users/mongrelion/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `require'
        from /Users/mongrelion/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
        from /Users/mongrelion/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `each'
        from /Users/mongrelion/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:9:in `block in <main>'
        from /Users/mongrelion/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/rake-10.0.4/lib/rake/rake_test_loader.rb:4:in `select'
        f

Any further instructions for running tests in local? Thanks.

@tadman
Copy link
Member

tadman commented Dec 9, 2013

I'm trying to find a way to automatically compile the extension in the gem during tests, plus get this working in Ruby 2.0. The best way to test now is to create a .gem file, install it, then run tests. Awkward, I know.

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

No branches or pull requests

2 participants