lib/magic_recipes.rb in magic_recipes-0.0.2 vs lib/magic_recipes.rb in magic_recipes-0.0.3

- old
+ new

@@ -17,9 +17,11 @@ require 'bundler/capistrano' default_run_options[:pty] = true ssh_options[:forward_agent] = true + set_default :use_rvm, false # => no_rvm + def template(from, to) erb = File.read(File.expand_path("../magic_recipes/templates/#{from}", __FILE__)) put ERB.new(erb).result(binding), to end \ No newline at end of file