cnst cnst - 3 months ago 39
Ruby Question

Ruby: install a yanked gem (e.g. wkpdf on OS X 10.9)

I'd like to install wkpdf as per, but, as per and, the gem "wkpdf" is "yanked", even though it should most likely still be in the working order.

% sudo gem install wkpdf
ERROR: Could not find a valid gem 'wkpdf' (>= 0) in any repository
11.556u 0.437s 0:29.63 40.4% 0+0k 57+1io 363pf+0w

Is there a way to install it nonetheless? I'm running OS X 10.9,
gem -v


The project is still online here:

You can do the following:

$ wget
$ tar -xf v0.6.11.tar.gz
$ cd wkpdf-0.6.11
$ gem build wkpdf.gemspec
$ sudo gem install wkpdf-0.6.11-universal-darwin.gem