This project is archived and is in readonly mode.

#6539 ✓resolved
jack dempsey (jackdempsey)

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

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>

Pages