lib/veewee/environment.rb in veewee-0.4.5.1 vs lib/veewee/environment.rb in veewee-0.5.0.alpha1
- old
+ new
@@ -64,10 +64,10 @@
cwd = options[:cwd] || Veewee::Environment.workdir
defaults = {
:cwd => cwd,
:veewee_filename => "Veeweefile",
- :template_path => [File.expand_path(File.join(File.dirname(__FILE__), "..", "..", 'templates')), "templates"],
+ :template_path => ["templates"],
:validation_dir => File.join(File.expand_path(File.join(File.dirname(__FILE__), "..", "..")), "validation"),
}
options = defaults.merge(options)