This project is archived and is in readonly mode.
[PATCH] Fixed missing newline characters after gem and add_source generator actions
Reported by Lucas Efe | February 4th, 2010 @ 02:30 PM
A generator that uses the "gem" or "add_source" actions, when executed, it generates the Gemfile wrong. It concatenate the lines, without adding the newline character at the end of the line.
You get something like this:
# Gemfile
gem "rake", ">= 0.8.7"gem "mocha", ">= 0.9.8"
instead of
# Gemfile
gem "rake", ">= 0.8.7"
gem "mocha", ">= 0.9.8"
Same happens if you use add_source.
This patch fixes this issue.
Comments and changes to this ticket
-
Lucas Efe February 4th, 2010 @ 02:31 PM
- Tag set to rails 3.0 generators
Looks like I forgot to include the diff file.
-
Rohit Arondekar October 7th, 2010 @ 11:28 AM
- State changed from new to resolved
- Importance changed from to Low
This is no longer an issue. It must have been fixed along the way.
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>