Sha256: 3acdf2117b01002dfc7a91440f88e03cc92e24250199d8094b6a7528f395c5b9

Contents?: true

Size: 774 Bytes

Versions: 2

Compression:

Stored size: 774 Bytes

Contents

# Generated by the asset_copier plugin
# http://github.com/pelargir/asset_copier

require 'rake'
 
begin
  puts "============================================================="
  puts "Attempting to install required files into your application..."
  puts "============================================================="
  RAKE_FILE = File.expand_path(File.join(File.dirname(__FILE__), 'tasks', 'asset_copier.rake'))
  load RAKE_FILE
  
  Rake::Task['<%= file_name %>:install'].invoke
  puts "=========================================================="
  puts "Success!"
  puts "=========================================================="
rescue Exception => ex
  puts "FAILED TO INSTALL REQUIRED FILES.  PLEASE RUN rake <%= file_name %>:install."
  puts "EXCEPTION: #{ex}"
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
pelargir-asset_copier_generator-0.5 templates/install.rb.erb
asset_copier_generator-0.5 templates/install.rb.erb