Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Using pik on Windows 7 inside gitbash yields to missing dependency: RedCloth #420

Closed
pke opened this Issue · 5 comments

2 participants

@pke
philk@DONNYMOB2 /c/dev/projects/pke.github.com (master)
$ jekyll
WARNING: Could not read configuration. Using defaults (and options).
        No such file or directory - c:/dev/projects/pke.github.com/_config.yml
Building site: c:/dev/projects/pke.github.com -> c:/dev/projects/pke.github.com/_site
You are missing a library required for Textile. Please run:
  $ [sudo] gem install RedCloth

ERROR: YOUR SITE COULD NOT BE BUILT:
------------------------------------
Missing dependency: RedCloth

However the gem is installed

philk@DONNYMOB2 /c/dev/projects/pke.github.com (master)
$ gem list

*** LOCAL GEMS ***

albino (1.3.3)
classifier (1.3.3)
directory_watcher (1.4.1)
fast-stemmer (1.0.0)
jekyll (0.11.0)
json (1.6.1)
kramdown (0.13.3)
liquid (2.3.0)
maruku (0.6.0)
minitest (2.6.1, 1.6.0)
pik (0.2.8)
posix-spawn (0.3.6)
rake (0.9.2, 0.8.7)
rdoc (3.11, 2.5.8)
RedCloth (4.2.8)
syntax (1.0.0)

Whats up`?

@koraktor

Does irb -rredcloth start without a LoadError?

@pke

it does not

philk@DONNYMOB2 /c/dev/projects/pke.github.com (master)
$ irb -rredcloth
c:/dev/tools/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require':LoadError: no such file to load -- 1.9/redcloth_scan
Couldn't load 1.9/redcloth_scan
The $LOAD_PATH was:
c:/dev/tools/Ruby192/lib/ruby/gems/1.9.1/gems/RedCloth-4.2.8/lib
c:/dev/tools/Ruby192/lib/ruby/gems/1.9.1/gems/RedCloth-4.2.8/lib/case_sensitive_require
c:/dev/tools/Ruby192/lib/ruby/gems/1.9.1/gems/RedCloth-4.2.8/ext
c:/dev/tools/Ruby192/lib/ruby/site_ruby/1.9.1
c:/dev/tools/Ruby192/lib/ruby/site_ruby/1.9.1/i386-msvcrt
c:/dev/tools/Ruby192/lib/ruby/site_ruby
c:/dev/tools/Ruby192/lib/ruby/vendor_ruby/1.9.1
c:/dev/tools/Ruby192/lib/ruby/vendor_ruby/1.9.1/i386-msvcrt
c:/dev/tools/Ruby192/lib/ruby/vendor_ruby
c:/dev/tools/Ruby192/lib/ruby/1.9.1
c:/dev/tools/Ruby192/lib/ruby/1.9.1/i386-mingw32
irb(main):001:0>
@pke

I think the error is with RedCloth that either compiles the .so in the wrong folder (done by DevKit) or composes the prefix wrong
prefix = Config::CONFIG['arch'] =~ /mswin|mingw/ ? "#{Config::CONFIG['MAJOR']}.#{Config::CONFIG['MINOR']}/" : ''
The redcloth_scan.so is in the lib folder of the RC gem.

@koraktor

That's the problem. Jekyll checks for a LoadError when loading RedCloth.

So it isn't Jekyll's fault, you have to fix your RedCloth installation.

@pke

Right. Created a ticket with RedCloth and fixed it locally here.

@pke pke closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.