This project is archived and is in readonly mode.
[PATCH] Rails templates: git command doesn't run inside a directory
Reported by calavera | April 9th, 2009 @ 02:37 PM | in 3.0.2
writting a template you can't do this because git command just runs in root directory:
inside('lib') do
git :clone => "an_external_library_that's_not_a_plugin_nor_a_gem"
end
Comments and changes to this ticket
-
calavera April 9th, 2009 @ 02:41 PM
- Tag changed from 2.3.x, patch, railties, templates to 2.3.x, patch, railties, templates, tiny
-
YoNoSoyTu April 9th, 2009 @ 11:14 PM
+1
Minimum patch, with docs and test included. Applies perfectly, works as announced and seems like a logical feature to have.
I have tried to find the reason for that in_root around all the code of the git method, but seems to be there from the starting patch to include generators and in the original rg code from Jeremy Mcanally (which lacks of history on his GitHub repository).
-
José Valim August 10th, 2009 @ 11:21 AM
- Assigned user set to José Valim
- Milestone cleared.
-
Repository August 30th, 2009 @ 08:06 PM
(from [0fc5c59b37b4e2a809213c63bc9018bee7dc4aaf]) Rails templates git command runs inside another directory [#2466 status:resolved]
Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/0fc5c59b37b4e2a809213c63bc9018... -
José Valim September 1st, 2009 @ 12:16 PM
- State changed from new to resolved
-
Jeremy Kemper October 15th, 2010 @ 11:01 PM
- Milestone set to 3.0.2
- Importance changed from to
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
- 2466 [PATCH] Rails templates: git command doesn't run inside a directory (from [0fc5c59b37b4e2a809213c63bc9018bee7dc4aaf]) Rails t...