This project is archived and is in readonly mode.

#3109 ✓committed
Akira Matsuda

Ruby 1.9 compat: fix script/generate with -c option

Reported by Akira Matsuda | August 28th, 2009 @ 03:55 AM | in 2.3.6

This is svn version of #3105

script/generate with -c option doesn't work with Ruby 1.9 because String is no more implicitly enumerative by \n in 1.9.

Attached a patch for 2-3-stable which makes -c work in Ruby 1.8.6, 1.8.7, 1.9.1 and trunk.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Referenced by

Pages