-
Notifications
You must be signed in to change notification settings - Fork 20
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
Latest dmtest setup needs ruby 2.2.2 #48
Comments
Why do you think it needs Ruby version 2.2.2 ? .ruby_version states 1.9.3. On Wed, 13 Jul 2016 at 13:11 Yi Zhang [email protected] wrote:
|
Here is the execution log with "gem update* and "bundle update" which indicate I need update with Ruby 2.2.2, pls check it # gem update Gem::InstallError: activesupport requires Ruby version >= 2.2.2. |
The errors you see when running gem update are nothing to do with dmtest, I think that's the gem code itself, and you can safely rvm install ruby-2.2 to fix it. The errors when running bundle update are hopefully fixed with this patch which pins some gems: Could you try and confirm please? |
The cmd |
Great. I'm in the process of updating to Ruby 2.3.1. But that should fix On Mon, 18 Jul 2016 at 12:47 Yi Zhang [email protected] wrote:
|
Hello Joe
During setup dmtest with "gem update", got below error, seems it need to change to use Ruby 2.2.2
Gem::InstallError: activesupport requires Ruby version >= 2.2.2
After I use "rvm install 2.2.2", the setup succeed, and I execute below command and encountered below error:
# dmtest list --suite cache
/root/device-mapper-test-suite/lib/dmtest/suites/cache.rb:11:in `require': cannot load such file -- dmtest/tests/cache/latency_tests (LoadError)
#dmtest list --suite cache
superclass must be a Class (FalseClass given)
/root/device-mapper-test-suite/lib/dmtest/tests/cache/vdbench_tests.rb:16:in `<top (required)>'
#dmtest list --suite cache
/root/device-mapper-test-suite/lib/dmtest/suites/cache.rb:23:in `require': cannot load such file -- dmtest/tests/cache/warming_tests (LoadError)
Now have to annotate below three lines to test dm-cache
device-mapper-test-suite/lib/dmtest/suites/cache.rb
require 'dmtest/tests/cache/latency_tests'
require 'dmtest/tests/cache/vdbench_tests'
require 'dmtest/tests/cache/warming_tests'
The text was updated successfully, but these errors were encountered: