This project is archived and is in readonly mode.
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
-
Repository September 12th, 2009 @ 02:08 AM
- Milestone set to 2.3.6
- State changed from new to committed
(from [3413643e83c09533c95a1ccf0d9785f6d892203c]) 1.9 compat: let -c option work with Ruby 1.9
[#3109 state:committed milestone:2.3.5]
Signed-off-by: Jeremy Kemper jeremy@bitsweat.net
http://github.com/rails/rails/commit/3413643e83c09533c95a1ccf0d9785...
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
- Nobody is watching this ticket.
Attachments
Referenced by
- 3109 Ruby 1.9 compat: fix script/generate with -c option [#3109 state:committed milestone:2.3.5]