#231 new

RedCloth native extension not working in GitBash on Windows 7

Reported by philk | October 19th, 2011 @ 09:57 AM

I think the prefix is wrong:

prefix = Config::CONFIG['arch'] =~ /mswin|mingw/ ? "#{Config::CONFIG['MAJOR']}.#{Config::CONFIG['MINOR']}/" : ''

I have installed the gem using pik and its properly installed.
So the redcloth_scan.so is in the RC gem lib folder right beside redcloth.rb. (c:\dev\tools\Ruby192\lib\ruby\gems\1.9.1\gems\RedCloth-4.2.8\lib)
It resolves prefix as "1.9" which is clearly wrong I think and then tries to load "1.9/redcloth_scan"

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

RedCloth is a Ruby library for converting Textile into HTML

Shared Ticket Bins

People watching this ticket