summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/autoload.rb
diff options
context:
space:
mode:
authorMatt Robinson <matt@puppetlabs.com>2011-03-22 23:07:56 -0700
committerMatt Robinson <matt@puppetlabs.com>2011-03-23 13:10:54 -0700
commit36a5665f3e0aeb8b9141cb8be2f69f8568078986 (patch)
tree1f1a5547aac5eb338f274a786f4d56db32aec7a2 /lib/puppet/util/autoload.rb
parent8c32db76f68148b2e58ba744b965a3c8cd8f1663 (diff)
downloadpuppet-36a5665f3e0aeb8b9141cb8be2f69f8568078986.tar.gz
puppet-36a5665f3e0aeb8b9141cb8be2f69f8568078986.tar.xz
puppet-36a5665f3e0aeb8b9141cb8be2f69f8568078986.zip
(#6820) Fix File class lookup in the file type for Ruby 1.9
Was getting the following error when we simply called File.dirname err: Got an uncaught exception of type NoMethodError: undefined method `dirname' for Puppet::Type::File:Class The constant lookup has changed in Ruby 1.9 to look at local scopes first, so we need to make it clearer that File is the Ruby File class and not something scoped in Puppet. Reviewed-by: Jacob Helwig <jacob@puppetlabs.com>
Diffstat (limited to 'lib/puppet/util/autoload.rb')
0 files changed, 0 insertions, 0 deletions