lib/mina/helpers/internal.rb in mina-1.2.3 vs lib/mina/helpers/internal.rb in mina-1.2.4
- old
+ new
@@ -3,10 +3,10 @@
module Internal
include Helpers::Output
def deploy_script
yield
- erb Mina.root_path(fetch(:deploy_script))
+ erb fetch(:deploy_script)
end
def erb(file, b = binding)
require 'erb'
erb = ERB.new(File.read(file))