This project is archived and is in readonly mode.
plugin_new generator creates empty app/templates/public/javascripts directory instead of public/javascripts
Reported by jack dempsey (jackdempsey) | March 7th, 2011 @ 07:18 AM | in 3.1
https://gist.github.com/858022
note the lines:
sers/jack/git/app/templates/public/javascripts
vs.
sers/app/templates/public/javascripts
Looks like for some reason it was adding app_templates_dir to the front of public/javascripts:
- empty_directory "#{app_templates_dir}/public/javascripts"
- empty_directory "public/javascripts"
I've created a branch over at github and will be issuing a pull request with the change. Anyone else have more knowledge on why this might be or a better fix?
Comments and changes to this ticket
-
Santiago Pastorino March 8th, 2011 @ 04:37 PM
- State changed from new to open
- Milestone set to 3.1
- Assigned user set to Piotr Sarnacki
- Importance changed from to Low
Can you provide a test case or a patch?
-
jack dempsey (jackdempsey) March 8th, 2011 @ 04:56 PM
Hey Santiago,
There's a patch in a pull request at GitHub. If I can get a sec I'll try to look into how this sort of thig is tested if at all
-
Piotr Sarnacki April 16th, 2011 @ 07:21 PM
- State changed from open to resolved
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>