Error installing/building Caldecott

426 views Asked by At

My environment:

  • Windows 8 x64
  • RubyInstaller:
  • Ruby 1.9.3-p392
  • DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe

(Note: previously tried Ruby 2.0 and associated dev kit and got compile error. Then saw 1.9.2 req and installed that separately, careful not to mix them.)

Steps:

  1. Updated PATH, installed DevKit per instructions.
  2. gem update --system
  3. gem install af (using AppFog, a CloudFoundry partner)

Then, from the gem instructions, I run:

gem install caldecott --no-rdoc --no-ri

ERROR:  While executing gem ... (NoMethodError)
    undefined method `size' for nil:NilClass

Any idea why I'm getting that? As a follow up, I followed the test procedure in the DevKit instructions:

  • gem install json --platform=ruby
  • ruby -rubygems -e "require 'json';puts JSON.load('[42]').inspect"

Results were as predeicted, so this appears to be only for caldecott.

1

There are 1 answers

1
asmartboy On

well, i had same experienced i tried to clean my geb cache with delete all files in C:\Ruby200\lib\ruby\gems\2.0.0\cache and it works ^^