Open obenziane2 opened 8 years ago
trying to install rbenv for a user "user1" bu ti'm getting this error:
undefined method `provides' for #Class:0xa31847c
/var/chef/cache/cookbooks/ruby_rbenv/providers/global.rb:28:in `class_from_file'
@obenziane2 you're in the wrong project. Thats from https://github.com/chef-rbenv/ruby_rbenv
But - I got the same error, you need to update chef. The provides method is avail at chef 12. This issue can be closed.
trying to install rbenv for a user "user1" bu ti'm getting this error:
NoMethodError
undefined method `provides' for #Class:0xa31847c
Cookbook Trace:
/var/chef/cache/cookbooks/ruby_rbenv/providers/global.rb:28:in `class_from_file'