which makes sense, except i'm used rubygems to install pdf-writer and
that apparently changes the way I use require, namely:
require 'rubygems'
require_gem 'pdf-writer'
NOW:) I can't figure out how to 'require" the SimpleTable class
You do not need require_gem at all; when you need the capabilities
offered by require_gem in the future, it will have been renamed to
something else (probably activate_gem or fix_gem or something like
that).
-austin
路路路
On 4/8/06, Andrew <gibson_andrew@yahoo.com> wrote:
require 'pdf/writer'
require 'pdf/simpletable'
which makes sense, except i'm used rubygems to install pdf-writer and
that apparently changes the way I use require, namely:
You do not need require_gem at all; when you need the capabilities
offered by require_gem in the future, it will have been renamed to
something else (probably activate_gem or fix_gem or something like
that).
You do not need require_gem at all; when you need the capabilities
offered by require_gem in the future, it will have been renamed to
something else (probably activate_gem or fix_gem or something like
that).
-austin
Hi,
im getting this error when i call the image function:
"undefined method `image' for #<PDF::Writer:0x364a930>"
these are my requires:
require 'rubygems'
require 'pdf/writer'
checking on rdoc, the image function is in this --> image
(PDF::Writer::Graphics)
im on windows xp.
thanks
/franee
路路路
On 4/8/06, Andrew <gibson_andrew@yahoo.com> wrote: