nokogiri not installing on Ruby 2.7.1

292 views
Skip to first unread message

RBan

unread,
Jun 3, 2020, 4:17:15 PM6/3/20
to nokogiri-talk
I am required to work in Ruby version 2.7.1 for a team project, however, when I try to bundle all my gems, and install nokogiri, it gives me the following message:

"nokogiri requires Ruby version >= 2.3, < 2.7.dev. The current ruby version is 2.7.1.83."

I really have no idea what to do because I feel like I've tried everything. I even backtracked on this very forum and tried the input " gem install nokogiri --prerelease" as was recently mentioned. Any help would be appreciated, as I must have this task done by tomorrow afternoon. Downgrading to Ruby 2.6.6 is not an option for me right now.

Thank you!

Mike Dalessio

unread,
Jun 3, 2020, 4:19:49 PM6/3/20
to nokogiri-talk
Hi,

Sorry you're having problems. Yes, if you're running Ruby 2.7.x on Windows, you'll have to install the Nokogiri v1.11.x prerelease. You mention that you tried this, but haven't told us why that failed for you. Can you help us understand what you're seeing?

--
You received this message because you are subscribed to the Google Groups "nokogiri-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nokogiri-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nokogiri-talk/46418e6a-22b5-41a6-a321-e30bf386265f%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages