lib/generators/shellac/install_generator.rb in shellac-0.0.2.1 vs lib/generators/shellac/install_generator.rb in shellac-0.0.2.3
- old
+ new
@@ -1,12 +1,14 @@
require 'rails/generators'
module Shellac
module Generators
class InstallGenerator < Rails::Generators::Base
+
+ source_root File.expand_path("../../templates", __FILE__)
def generate
- copy_file "../templates/varnish.yml", "config/varnish.yml"
+ copy_file "config/varnish.yml", "config/varnish.yml"
puts "------------------------"
puts "Now configure your varnish setup here:"
puts "config/varnish.yml"
puts "------------------------"
\ No newline at end of file