diff --git a/lib/puppet/provider/rvm_system_ruby/rvm_system_ruby.rb b/lib/puppet/provider/rvm_system_ruby/rvm_system_ruby.rb index 79ac1dce..d836f925 100644 --- a/lib/puppet/provider/rvm_system_ruby/rvm_system_ruby.rb +++ b/lib/puppet/provider/rvm_system_ruby/rvm_system_ruby.rb @@ -58,8 +58,8 @@ def install end end options = Array(resource[:build_opts]) - if resource[:autolibs_mode] - options << "--autolibs #{resource[:autolibs_mode]}" + if resource[:autolib_mode] + options << "--autolibs #{resource[:autolib_mode]}" end if resource[:proxy_url] and !resource[:proxy_url].empty? rvmcmd "install", resource[:name], "--proxy", resource[:proxy_url], *options