RiotGamesCookbooks / rbenv-cookbook

Installs and configures rbenv
http://community.opscode.com/cookbooks/rbenv
Apache License 2.0
137 stars 109 forks source link

ERROR: undefined method `provides' for #<Class:0xa31847c> #134

Open obenziane2 opened 8 years ago

obenziane2 commented 8 years ago

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'

krismeister commented 8 years ago

@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.