summaryrefslogtreecommitdiffstats
path: root/lib/puppet/rails/rails_resource.rb
diff options
context:
space:
mode:
authorDaniel Pittman <daniel@puppetlabs.com>2011-05-03 15:51:02 -0700
committerDaniel Pittman <daniel@puppetlabs.com>2011-05-03 15:51:02 -0700
commit8f81f56e8315a62e6c8ff8943c64df7594855359 (patch)
treebc004c81a8e03ab19cd5d49e559fd5284ed63c4e /lib/puppet/rails/rails_resource.rb
parentb17b49c97380cd64e75ac5e2ef12fb939ae953bb (diff)
downloadpuppet-8f81f56e8315a62e6c8ff8943c64df7594855359.tar.gz
puppet-8f81f56e8315a62e6c8ff8943c64df7594855359.tar.xz
puppet-8f81f56e8315a62e6c8ff8943c64df7594855359.zip
(#7326) Fix faces on Ruby 1.8.5
Turns out that String#each_line on Ruby 1.8.5 only takes a block, and will not return an enumerable. Rewrite to use split(/\n/) which has the same effect but works on all our platforms.
Diffstat (limited to 'lib/puppet/rails/rails_resource.rb')
0 files changed, 0 insertions, 0 deletions