sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #32423
Re: [Question #266871]: Ruby scripting: create PDF with prawn
Question #266871 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266871
Status: Answered => Open
Giel Raijmakers is still having a problem:
When I use $LOADPATH
[error] NoMethodError ( (NoMethodError) undefined method `<<' for nil:NilClass )
I added the path to the reqiuer like this:
require "C:\\Ruby22\\lib\\ruby\\gems\\2.2.0\\gems\\prawn-2.0.1\\lib\\prawn.rb"
Then the dependend gems started: "no such file", so I inculded them also...
require "C:\\Ruby22\\lib\\ruby\\gems\\2.2.0\\gems\\ttfunk-1.4.0\\lib\\ttfunk.rb"
require "C:\\Ruby22\\lib\\ruby\\gems\\2.2.0\\gems\\pdf-core-0.5.1\\lib\\pdf\\core.rb"
require "C:\\Ruby22\\lib\\ruby\\gems\\2.2.0\\gems\\prawn-2.0.1\\lib\\prawn.rb"
But still... It doesn;t seem to work. The dependencies with the other
gems act up.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.