This project is archived and is in readonly mode.

#3105 ✓committed
Akira Matsuda

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

Reported by Akira Matsuda | August 27th, 2009 @ 01:22 PM | in 2.3.6

script/generate with -g 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 -g 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