Sha256: f9c871d7cdf86fbe1d99a7f17067c1b909672a8273f2469b6e366d4a3b55c04d
Contents?: true
Size: 289 Bytes
Versions: 3
Compression:
Stored size: 289 Bytes
Contents
def run_templates_install_template(path) system "#{RbConfig.ruby} ./bin/rails app:template LOCATION=#{File.expand_path("../install/#{path}.rb", __dir__)}" end namespace :templates do desc 'Install Templates' task :install do run_templates_install_template 'templates' end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
templates-rails-0.1.6 | lib/tasks/templates_tasks.rake |
templates-rails-0.1.5 | lib/tasks/templates_tasks.rake |
templates-rails-0.1.4 | lib/tasks/templates_tasks.rake |