Project

General

Profile

Actions

Bug #12217

closed

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

Added by Dominic Cleal over 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
Core
Target version:
Difficulty:
Triaged:
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 2 (0 open2 closed)

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

Also available in: Atom PDF