Created
April 25, 2012 05:18
-
-
Save carstengehling/2486705 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading development environment (Rails 3.2.2) | |
1.8.7 :001 > require 'odf/spreadsheet' | |
=> true | |
1.8.7 :002 > ODF::Spreadsheet.file("my-spreadsheet.ods") do |spreadsheet| | |
1.8.7 :003 > spreadsheet.table 'My first table from Ruby' do |table| | |
1.8.7 :004 > table.row {|row| row.cell 'Hello, rODF world!' } | |
1.8.7 :005?> end | |
1.8.7 :006?> end | |
NoMethodError: undefined method `encode' for Builder::XChar:Module | |
from /home/carsten/.rvm/gems/ruby-1.8.7-p358@misstoro_partner/gems/rodf-0.2.1/lib/odf/span.rb:30:in `xml' | |
from /home/carsten/.rvm/gems/ruby-1.8.7-p358@misstoro_partner/gems/rodf-0.2.1/lib/odf/paragraph_container.rb:31:in `content_parts_xml' | |
from /home/carsten/.rvm/gems/ruby-1.8.7-p358@misstoro_partner/gems/rodf-0.2.1/lib/odf/paragraph_container.rb:31:in `map' | |
from /home/carsten/.rvm/gems/ruby-1.8.7-p358@misstoro_partner/gems/rodf-0.2.1/lib/odf/paragraph_container.rb:31:in `content_parts_xml' | |
from /home/carsten/.rvm/gems/ruby-1.8.7-p358@misstoro_partner/gems/rodf-0.2.1/lib/odf/span.rb:45:in `xml' | |
from /home/carsten/.rvm/gems/ruby-1.8.7-p358@misstoro_partner/gems/rodf-0.2.1/lib/odf/paragraph_container.rb:31:in `content_parts_xml' | |
from /home/carsten/.rvm/gems/ruby-1.8.7-p358@misstoro_partner/gems/rodf-0.2.1/lib/odf/paragraph_container.rb:31:in `map' | |
from /home/carsten/.rvm/gems/ruby-1.8.7-p358@misstoro_partner/gems/rodf-0.2.1/lib/odf/paragraph_container.rb:31:in `content_parts_xml' | |
from /home/carsten/.rvm/gems/ruby-1.8.7-p358@misstoro_partner/gems/rodf-0.2.1/lib/odf/paragraph.rb:33:in `xml' | |
from /home/carsten/.rvm/gems/ruby-1.8.7-p358@misstoro_partner/gems/builder-3.0.0/lib/builder/xmlbase.rb:155:in `call' | |
from /home/carsten/.rvm/gems/ruby-1.8.7-p358@misstoro_partner/gems/builder-3.0.0/lib/builder/xmlbase.rb:155:in `_nested_structures' | |
from /home/carsten/.rvm/gems/ruby-1.8.7-p358@misstoro_partner/gems/builder-3.0.0/lib/builder/xmlbase.rb:63:in `method_missing' | |
from /home/carsten/.rvm/gems/ruby-1.8.7-p358@misstoro_partner/gems/rodf-0.2.1/lib/odf/paragraph.rb:32:in `xml' | |
from (eval):3:in `paragraphs_xml' | |
from (eval):3:in `map' | |
from (eval):3:in `paragraphs_xml' | |
... 29 levels... | |
from /home/carsten/.rvm/gems/ruby-1.8.7-p358@misstoro_partner/gems/builder-3.0.0/lib/builder/xmlbase.rb:63:in `method_missing' | |
from /home/carsten/.rvm/gems/ruby-1.8.7-p358@misstoro_partner/gems/rodf-0.2.1/lib/odf/spreadsheet.rb:53:in `xml' | |
from /home/carsten/.rvm/gems/ruby-1.8.7-p358@misstoro_partner/gems/builder-3.0.0/lib/builder/xmlbase.rb:155:in `call' | |
from /home/carsten/.rvm/gems/ruby-1.8.7-p358@misstoro_partner/gems/builder-3.0.0/lib/builder/xmlbase.rb:155:in `_nested_structures' | |
from /home/carsten/.rvm/gems/ruby-1.8.7-p358@misstoro_partner/gems/builder-3.0.0/lib/builder/xmlbase.rb:63:in `method_missing' | |
from /home/carsten/.rvm/gems/ruby-1.8.7-p358@misstoro_partner/gems/rodf-0.2.1/lib/odf/spreadsheet.rb:52:in `xml' | |
from /home/carsten/.rvm/gems/ruby-1.8.7-p358@misstoro_partner/gems/builder-3.0.0/lib/builder/xmlbase.rb:155:in `call' | |
from /home/carsten/.rvm/gems/ruby-1.8.7-p358@misstoro_partner/gems/builder-3.0.0/lib/builder/xmlbase.rb:155:in `_nested_structures' | |
from /home/carsten/.rvm/gems/ruby-1.8.7-p358@misstoro_partner/gems/builder-3.0.0/lib/builder/xmlbase.rb:63:in `method_missing' | |
from /home/carsten/.rvm/gems/ruby-1.8.7-p358@misstoro_partner/gems/builder-3.0.0/lib/builder/xmlbase.rb:34:in `tag!' | |
from /home/carsten/.rvm/gems/ruby-1.8.7-p358@misstoro_partner/gems/rodf-0.2.1/lib/odf/spreadsheet.rb:36:in `xml' | |
from /home/carsten/.rvm/gems/ruby-1.8.7-p358@misstoro_partner/gems/rodf-0.2.1/lib/odf/document.rb:37:in `file' | |
from /home/carsten/.rvm/gems/ruby-1.8.7-p358@misstoro_partner/gems/rubyzip-0.9.7/lib/zip/zip_streamable_stream.rb:12:in `get_output_stream' | |
from /home/carsten/.rvm/gems/ruby-1.8.7-p358@misstoro_partner/gems/rubyzip-0.9.7/lib/zip/zip_file.rb:141:in `get_output_stream' | |
from /home/carsten/.rvm/gems/ruby-1.8.7-p358@misstoro_partner/gems/rodf-0.2.1/lib/odf/document.rb:37:in `file' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment