Perform 
rake rails:template LOCATION=$(torquebox env TORQUEBOX_HOME)/share/rails/template.rb