Project

General

Profile

Bug #12217

`ruby_21` is not a valid platform` with older versions of Bundler

Added by Dominic Cleal almost 7 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
High
Category:
Core
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Using :platforms in a Gemfile with newer Ruby versions is incompatible with older Bundler versions that we use on a number of packaged OSes. The Gemfile should use RUBY_VERSION instead of :platforms to restrict by Ruby version.

Oct 20 07:47:01 localhost systemd: Starting Foreman Proxy...
Oct 20 07:47:01 localhost smart-proxy: /usr/share/foreman-proxy/Gemfile.in:9:in `instance_eval': `ruby_21` is not a valid platform. The available options are: [:ruby, :ruby_18, :ruby_19, :ruby_20, :mri, :mri_18, :mri_19, :mri_20, :rbx, :jruby, :mswin, :mingw, :mingw_18, :mingw_19, :mingw_20] (Bundler::GemfileError)

Related issues

Related to Smart Proxy - Feature #12152: support for running of smart-proxy under ruby 2.2Closed2015-10-13
Related to Foreman - Bug #12215: Debian package build is failing with "`ruby_22` is not a valid platform."Closed2015-10-19

Associated revisions

Revision 00875b34 (diff)
Added by Dmitri Dolguikh almost 7 years ago

Fixes #12217: support older versions of bundler

No longer rely on :platforms to install test-unit dependency

History

#1 Updated by Dominic Cleal almost 7 years ago

  • Related to Feature #12152: support for running of smart-proxy under ruby 2.2 added

#2 Updated by Dominic Cleal almost 7 years ago

  • Related to Bug #12215: Debian package build is failing with "`ruby_22` is not a valid platform." added

#3 Updated by The Foreman Bot almost 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/smart-proxy/pull/331 added
  • Pull request deleted ()

#4 Updated by Dominic Cleal almost 7 years ago

  • Assignee set to Dmitri Dolguikh

#5 Updated by Anonymous almost 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF