Project

General

Profile

Actions

Bug #7970

closed

Default Ubuntu 12.04 Ruby should be 1.8

Added by Dominic Cleal about 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Debian/Ubuntu
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

After installation with #7227, the default Ruby becomes 1.9.3 but should probably be 1.8. At the least, we should support switching it back, but there are a few cases where the wrong version would be loaded.

  • /usr/sbin/foreman-rake calls "/usr/bin/rake" but should be "/usr/bin/rake1.9.1"
  • postinst scripts call "bundle", but this will use the default Ruby

Related issues 1 (0 open1 closed)

Related to Packaging - Feature #7227: Move Ubuntu 12.04 packages to Brightbox PPA with Ruby 1.9ClosedDominic Cleal08/22/2014Actions
Actions #1

Updated by Dominic Cleal about 10 years ago

  • Related to Feature #7227: Move Ubuntu 12.04 packages to Brightbox PPA with Ruby 1.9 added
Actions #2

Updated by Dominic Cleal about 10 years ago

  • Status changed from Assigned to Ready For Testing

https://github.com/theforeman/foreman-packaging/pull/398 adds a foreman-ruby symlink and fixes all bundle/rake calls in core and plugins.

https://github.com/theforeman/puppet-foreman/pull/241 changes the default system Ruby back to 1.8, particularly as Hammer isn't working with 1.9 (unable to load the locale lib).

Actions #3

Updated by Dominic Cleal about 10 years ago

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

Also available in: Atom PDF