Project

General

Profile

Actions

Bug #8222

closed

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

Added by Peter Amstutz almost 9 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
SDKs
Target version:
-
Story points:
-

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 1 (0 open1 closed)

Related to Arvados - Feature #7709: [API] Upgrade API server to Rails 4.2ResolvedTom Clegg03/19/2017Actions
Actions #1

Updated by Peter Amstutz almost 9 years ago

  • Description updated (diff)
  • Category set to SDKs
Actions #2

Updated by Brett Smith almost 9 years ago

  • Target version set to Arvados Future Sprints
Actions #3

Updated by Tom Clegg almost 9 years 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

Actions #4

Updated by Tom Clegg almost 9 years 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
Actions #5

Updated by Tom Clegg over 7 years ago

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

arvados and arvados-cli gems decline activesupport 5 now

Actions

Also available in: Atom PDF