MacOSXでwkpdfを使ってみた

1
2
3
4
Cannot load RubyCocoa library
wkpdf requires that RubyCocoa is installed, which is shipped by default since
Mac OS X 10.5. If you use Mac OS X 10.4, you have to install RubyCocoa
yourself from http://rubycocoa.sourceforge.net/HomePage
1
2
3
RBENV_VERSION=system gem install wkpdf
rbenv rehash
RBENV_VERSION=system wkpdf
1
2
3
4
5
6
7
8
% cd ~
% mkdir wkpdf
% cd wkpdf
% rbenv local system
% sudo gem install wkpdf
% rbenv rehash
% wkpdf --source http://www.apple.com --output apple.pdf
% open apple.pdf
comments powered by Disqus
Built with Hugo
Theme Stack designed by Jimmy