Closed simoneau closed 9 years ago
Probably Ruby broke something in later versions of their C extension system. If so I'm rather bummed that Travis didn't say anything.
I'll try to take a look this weekend. In the meantime, you can try debugging yourself by reading through the BUILDING
file at the root level, particularly the section detailing troubleshooting steps related to the C extension.
Thanks for taking a look David. I was able to get back on track by downgrading to Ruby 1.9.3, so I'm no longer blocked. Triage as you see fit, and let me know if there's anything I can do to help.
I was able to install successfully using the exact same version of Ruby and RDiscount on a Windows 7 (32-bit) virtual machine.
C:\Users\davidf\RD>ruby -v
ruby 2.1.5p273 (2014-11-13 revision 48405) [i386-mingw32]
C:\Users\davidf\RD>gem install rdiscount
Fetching: rdiscount-2.1.7.1.gem (100%)
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
Successfully installed rdiscount-2.1.7.1
Parsing documentation for rdiscount-2.1.7.1
Installing ri documentation for rdiscount-2.1.7.1
Done installing documentation for rdiscount after 1 seconds
1 gem installed
Granted I did have to manually install a certain cacert.pem
to fix SSL errors anytime the gem
tool wanted to do something.
Perhaps you are using a 64-bit version of Windows instead of a 32-bit one? Or perhaps you installed the 64-bit version of DevKit instead of the 32-bit one?
Closing due to lack of response.
Quick check : Granted I did have to manually install a certain cacert.pem to fix SSL errors anytime the gem tool wanted to do something.
How to install a certain cacert.pem to fix SSL errors ?
OK, NVM I figure it out
Put the cacert.pem under Ruby folder , such as mine C:\Ruby22-x64
I'm having trouble building rdiscount on Windows 7 with Ruby 2.1.5 (32 bit):
For comparison, it succeeds with Ruby 1.9.3:
Any suggestions would be greatly appreciated!