-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ArgumentError (wrong number of arguments (1 for 0)): #31
Comments
i think so the problem can be |
@contractus can you please paste the complete backtrace? |
I found the problem @senny. |
@contractus I see. Was it dependent on the version of rubyzip? Maybe sablon needs to have a better requirement specification. |
Sorry about my late @senny! |
@contractus and what version of rubyzip was causing issues for you? How did you solve them? By upgrading rubyzip? To what version? |
I'm closing this for now. Please report back if you have any further issues. |
Hello, My rubyzip version is 1.0.0 |
Hi @istiaqiut Sablon requires rubyzip to be above 1.1.1 |
i dont know if i making mistake, but coping and paste instruction code, i getting thats error:
ArgumentError (wrong number of arguments (1 for 0)):
my gem file:
http://pastebin.com/jJ92wkjH
require "sablon"
template = Sablon.template(File.expand_path("~/Desktop/template-a.docx"))
context = {
title: "Fabulous Document",
technologies: ["Ruby", "Markdown", "ODF"]
}
error on next line
template.render_to_file File.expand_path("~/Desktop/output.docx"), context
The text was updated successfully, but these errors were encountered: