Bug #8222

[SDK] "gem install arvados" fails on ruby <2.2.2 since activesupport 5.0.0 came out

Added by Peter Amstutz over 1 year ago. Updated 6 months ago.

Status:ResolvedStart date:
Priority:NormalDue date:
Assignee:Tom Clegg% Done:

0%

Category:SDKs
Target version:-
Story points-
Velocity based estimate-

Description

                 ********** Running sdk/ruby install **********
WARNING:  open-ended dependency on activesupport (>= 3.2.13) is not recommended
  if activesupport is semantically versioned, use:
    add_runtime_dependency 'activesupport', '~> 3.2', '>= 3.2.13'
WARNING:  See http://guides.rubygems.org/specification-reference/ for help
  Successfully built RubyGem
  Name: arvados
  Version: 0.1.20151207150126
  File: arvados-0.1.20151207150126.gem
...
Fetching: activesupport-5.0.0.beta1.gem (100%)
ERROR:  Error installing arvados-0.1.20151207150126.gem:
    activesupport requires Ruby version >= 2.2.2.

          ********** !!!!!! sdk/ruby install FAILED !!!!!! **********

Related issues

Related to Arvados - Feature #7709: [API] Upgrade API server to Rails 4.2 Resolved 03/19/2017

History

#1 Updated by Peter Amstutz over 1 year ago

  • Description updated (diff)
  • Category set to SDKs

#2 Updated by Brett Smith over 1 year ago

  • Target version set to Arvados Future Sprints

#3 Updated by Tom Clegg over 1 year ago

This looks like a bug in gem: it selects a version of the activesupport gem that it isn't capable of installing.

proposed workaround: introduce an artificial constraint activesupport < 5.0.0 to our gem, so that it can be installed on ruby < 2.2.2 without hitting this bug.

Testing this workaround in #8491. dbc4ad8

#4 Updated by Tom Clegg over 1 year ago

  • Subject changed from [SDK] Ruby SDK open ended dependency on activesupport to [SDK] "gem install arvados" fails on ruby <2.2.2 since activesupport 5.0.0 came out

#5 Updated by Tom Clegg 6 months ago

  • Status changed from New to Resolved
  • Assignee set to Tom Clegg
  • Target version deleted (Arvados Future Sprints)

arvados and arvados-cli gems decline activesupport 5 now

Also available in: Atom PDF