Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nokogiri compatibility issue with Ruby 2.4 on windows #48

Closed
nahmad2017 opened this issue Jun 3, 2017 · 8 comments
Closed

Nokogiri compatibility issue with Ruby 2.4 on windows #48

nahmad2017 opened this issue Jun 3, 2017 · 8 comments

Comments

@nahmad2017
Copy link

Nokogiri version 1.7 is not compatible with Ruby 2.4 on windows. An update to Nokogiri (Nokogiri 1.8.0) was planned to be released but it is not released so far.

@distler
Copy link
Collaborator

distler commented Jun 3, 2017

So we can track this more effectively, that's this issue on the Nokogiri Issue Tracker.

@nahmad2017
Copy link
Author

nokogiri 1.8.0 is released. I updated the gemfile and bundle install succeeded. Now , when I try to run instiki , I get another error "Couldn't load Eventmachine C Extension"

@distler
Copy link
Collaborator

distler commented Jun 6, 2017

Googling around, the remedy for that error seems to be

gem uninstall eventmachine

followed by

bundle install

Not sure what you would do if you have other ruby program which rely on the installed eventmachine gem.

@nahmad2017
Copy link
Author

This doesn't seem to work.

@distler
Copy link
Collaborator

distler commented Jun 7, 2017

As a workaround, does

gem 'puma'

instead of

gem 'thin'

in the Gemfile fix the problem (IIRC, puma does not rely on eventmachine, whereas thin does)?

@nahmad2017
Copy link
Author

It says can't load redcloth_scan (Missing source file)

@distler
Copy link
Collaborator

distler commented Jun 7, 2017

Something seems to be pooched in your installation. Extensions installed via bundle install don't seem to be found when you actually try to run Instiki.

We can work around each of them, 1-by-1, but eventually, we will either tire of the process or hit a wall.

What's your setup? (What Ruby, etc, ...?) And can you, for instance, install gems manually?

@distler
Copy link
Collaborator

distler commented Jun 25, 2018

Duplicate of Issue #53.

@distler distler closed this as completed Jun 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants