-
Notifications
You must be signed in to change notification settings - Fork 683
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
`add_test': undefined method error on Ubuntu 15.10 with Ruby 2.1 #642
Comments
Hmm curious case. Thanks for reporting. Could you share the output of |
Same error here on Ubuntu 15.10 with ruby 2.1.5p273.
|
I just tried this on a new ubuntu wily box (vagrant). I had no troubles installing inspec:
Therefore its not a ruby 2.1 issue, since we tests this regularly. |
There was nothing Ruby-related on my machine and I was just following instructions :) I end up with beta versions of rspec reliably - here's how to reproduce this in Docker:
When running "gem install rspec", I get version 3.4.0, but via "gem install inspec", I end up with the beta versions. Downgrading to rspec 3.4.0 fixes the problem, BTW. |
In addition we also added support for our own docker container in #649 |
Description
Created simple example
test.rb
using code from README (see below). Raninspec exec test.rb
and received an error with stack trace when I expected to see the tests executed and results.InSpec and Platform Version
Distributor ID: Ubuntu
Description: Ubuntu 15.10
Release: 15.10
Codename: wily
Replication Case
test.rb
using example from READMEinspec exec test.rb
Possible Solutions
Tested similar steps on OS X and
test.rb
executed as expected. So we know syntax oftest.rb
OK.Is Ruby version 2.1 a problem?
Stacktrace
The text was updated successfully, but these errors were encountered: