Project

General

Profile

Actions

Defect #30716

closed

latest version of xpath gem need ruby 2.3

Added by Tigergm Wu about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Ruby support
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate
Affected version:

Description

When bundle, the latest xpath which resolved to capybara gem requires higher Ruby version.
Please check and update it. Thanks.

Gem::InstallError: xpath requires Ruby version >= 2.3.
An error occurred while installing xpath (3.2.0), and Bundler cannot continue.
Make sure that `gem install xpath -v '3.2.0' --source 'https://rubygems.org/'` succeeds before bundling.

In Gemfile:
  capybara was resolved to 2.18.0, which depends on
    xpath

Related issues

Is duplicate of Redmine - Defect #30114: Installing xpath with Bundler fails in Ruby <=2.2ClosedGo MAEDA

Actions
Actions #1

Updated by Tigergm Wu about 5 years ago

Before, the xpath 3.1.0 should work under the Ruby 2.2 version.

Actions #2

Updated by Tigergm Wu about 5 years ago

  • Status changed from New to Resolved

Sorry. May it's a mistake. I bundled in one new enviroment and it succeeded.

Actions #3

Updated by Go MAEDA about 5 years ago

  • Is duplicate of Defect #30114: Installing xpath with Bundler fails in Ruby <=2.2 added
Actions #4

Updated by Go MAEDA about 5 years ago

  • Status changed from Resolved to Closed
  • Resolution set to Duplicate

Closing as a duplicate of #30114.

I also observed the error a few times but I cannot reproduce it for now.

Actions

Also available in: Atom PDF