Closed JiapengLi closed 11 years ago
I try to install wkpdf use gem.
sudo apt-get intall ruby sudo gem update system sudo gem install wkpdf
Then i got an error like this:
ERROR: Could not find a valid gem 'wkpdf' (>= 0), here is why: Found wkpdf (0.6.11), but was for platform universal-darwin
And,
# gem env RubyGems Environment: - RUBYGEMS VERSION: 1.8.23 - RUBY VERSION: 1.9.3 (2012-04-20 patchlevel 194) [i686-linux] - INSTALLATION DIRECTORY: /var/lib/gems/1.9.1 - RUBY EXECUTABLE: /usr/bin/ruby1.9.1 - EXECUTABLE DIRECTORY: /usr/local/bin - RUBYGEMS PLATFORMS: - ruby - x86-linux - GEM PATHS: - /var/lib/gems/1.9.1 - /home/lich/.gem/ruby/1.9.1 - GEM CONFIGURATION: - :update_sources => true - :verbose => true - :benchmark => false - :backtrace => false - :bulk_threshold => 1000 - REMOTE SOURCES: - http://rubygems.org/
The error message is correct. You are tryging to install wkpdf on Linux, which is not supported. Porting wkpdf to Linux is not possible, since it relies on the WebKit framework, which is available only on OS X.
I try to install wkpdf use gem.
Then i got an error like this:
And,