summaryrefslogtreecommitdiffstats
path: root/lib/puppet/rails/rails_resource.rb
diff options
context:
space:
mode:
authorMatt Robinson <matt@puppetlabs.com>2011-05-24 09:31:39 -0700
committerMatt Robinson <matt@puppetlabs.com>2011-05-24 09:54:07 -0700
commit107b38a94f8b4e4a0fcca4879a167ab4c955fe4d (patch)
tree2e8356c877afc2e9988acefa373f6355a73b05b7 /lib/puppet/rails/rails_resource.rb
parent7f826bfc1352ef84b2e990874c6285c5aca66bac (diff)
downloadpuppet-107b38a94f8b4e4a0fcca4879a167ab4c955fe4d.tar.gz
puppet-107b38a94f8b4e4a0fcca4879a167ab4c955fe4d.tar.xz
puppet-107b38a94f8b4e4a0fcca4879a167ab4c955fe4d.zip
maint: Fix pacman provider to work with Ruby 1.9
Ruby 1.9 doesn't allow the lambda to walk up the directory structure to require the spec helper This is the same issue as with commit: f6da3339f59bbd9243a03dc1e417b1fed7955c7e Also, you can't call each on a string in Ruby 1.9 directly since it doesn't implicitly do a split on \n like it did in older Rubies, but each_line works all the way back to 1.8.5 Reviewed-by: Nick Lewis <nick@puppetlabs.com>
Diffstat (limited to 'lib/puppet/rails/rails_resource.rb')
0 files changed, 0 insertions, 0 deletions