This project is archived and is in readonly mode.
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
-
Repository September 12th, 2009 @ 02:08 AM
- Milestone set to 2.3.6
- State changed from new to committed
(from [028d449fe9d727650ca47318d5e8615dfc7bc7a8]) 1.9 compat: let -g option work with Ruby 1.9
[#3105 state:committed milestone:2.3.5]
Signed-off-by: Jeremy Kemper jeremy@bitsweat.net
http://github.com/rails/rails/commit/028d449fe9d727650ca47318d5e861...
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 This is svn version of #3105
- 3105 Ruby 1.9 compat: fix script/generate with -g option [#3105 state:committed milestone:2.3.5]