Comments (6)
Looks like something broke after we recently removed the dependency on our
own zip library fork. You can check out an older version to verify it used
to work. There aren't many commits, so going backwards should be easy to
find it. Otherwise, maybe you are missing a gem dependency - did you bundle?
On Wed, Oct 23, 2013 at 5:35 AM, Aurélien Malisart <[email protected]
wrote:
Hello,
This project looks really interesting !
I'm trying to test it independently to determine if it does what I need :
https://github.com/aurels/ruby-docx-templater-exampleWhen running with file :
https://github.com/aurels/ruby-docx-templater-example/blob/master/run.rbI get this NameError :
bundle exec ruby run.rb
'
/Users/aurels/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/bundler/gems/ruby-docx-templater-f9c7f2bca74e/lib/docx_templater/docx_creator.rb:34:inread_existing_template_docx': uninitialized constant DocxTemplater::DocxCreator::Zip (NameError) from /Users/aurels/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/bundler/gems/ruby-docx-templater-f9c7f2bca74e/lib/docx_templater/docx_creator.rb:19:in
generate_docx_bytes'
from /Users/aurels/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/bundler/gems/ruby-docx-templater-f9c7f2bca74e/lib/docx_templater/docx_creator.rb:13:ingenerate_docx_file' from run.rb:14:in
aurels@ruby-docs-templater-test[]: bundle exec ruby run.rb
/Users/aurels/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/bundler/gems/ruby-docx-templater-f9c7f2bca74e/lib/docx_templater/docx_creator.rb:34:inread_existing_template_docx': uninitialized constant DocxTemplater::DocxCreator::Zip (NameError) from /Users/aurels/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/bundler/gems/ruby-docx-templater-f9c7f2bca74e/lib/docx_templater/docx_creator.rb:19:in
generate_docx_bytes'
from /Users/aurels/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/bundler/gems/ruby-docx-templater-f9c7f2bca74e/lib/docx_templater/docx_creator.rb:13:ingenerate_docx_file' from run.rb:13:in
'Is something missing in the Gemfile ?
https://github.com/aurels/ruby-docx-templater-example/blob/master/GemfileThanks,
Aurélien
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/3
.
-Jonathan
from ruby-docx-templater.
Thanks for the reply, you are right : it works on 632454b.
from ruby-docx-templater.
@aurels it looks like you're using the fork of zipruby, even when you should not need it with the current version of ruby-docx-templater. can you try removing that from your gemfile?
from ruby-docx-templater.
I've updated the readme to prevent this issue from plaguing future users.
from ruby-docx-templater.
@tamird brilliant
from ruby-docx-templater.
@tamird : I confirm that it works, the README plagued me ;-)
from ruby-docx-templater.
Related Issues (6)
- Nested tables? HOT 1
- Unmatched Template Error HOT 5
- All caps for keys. Why? HOT 2
- Looping without table HOT 1
- Documentation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ruby-docx-templater.