Project

General

Profile

Actions

Refactor #14156

closed

Support Ruby on Rails 4.2 without Foreigner

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Branch:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Katello's tests fail under Foreman's rails42 branch:

12:44:51 + bundle exec rake db:drop db:create
12:44:57 warning: parser/current is loading parser/ruby22, which recognizes
12:44:57 warning: 2.2.4-compliant syntax, but you are running 2.2.3.
12:44:57 warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
12:44:58 rake aborted!
12:44:58 LoadError: cannot load such file -- foreigner
12:44:58 /usr/local/rvm/gems/ruby-2.2.3@test_katello_core-1/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require'
12:44:58 /usr/local/rvm/gems/ruby-2.2.3@test_katello_core-1/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `block in require'
12:44:58 /usr/local/rvm/gems/ruby-2.2.3@test_katello_core-1/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:in `load_dependency'
12:44:58 /usr/local/rvm/gems/ruby-2.2.3@test_katello_core-1/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require'
12:44:58 /var/lib/workspace/workspace/test_katello_core/database/postgresql/ruby/2.2/slave/fast/plugin/lib/katello.rb:8:in `<top (required)>'
12:44:58 /usr/local/rvm/gems/ruby-2.2.3@test_katello_core-1/gems/bundler-1.11.2/lib/bundler/runtime.rb:77:in `require'
12:44:58 /usr/local/rvm/gems/ruby-2.2.3@test_katello_core-1/gems/bundler-1.11.2/lib/bundler/runtime.rb:77:in `block (2 levels) in require'
12:44:58 /usr/local/rvm/gems/ruby-2.2.3@test_katello_core-1/gems/bundler-1.11.2/lib/bundler/runtime.rb:72:in `each'
12:44:58 /usr/local/rvm/gems/ruby-2.2.3@test_katello_core-1/gems/bundler-1.11.2/lib/bundler/runtime.rb:72:in `block in require'
12:44:58 /usr/local/rvm/gems/ruby-2.2.3@test_katello_core-1/gems/bundler-1.11.2/lib/bundler/runtime.rb:61:in `each'
12:44:58 /usr/local/rvm/gems/ruby-2.2.3@test_katello_core-1/gems/bundler-1.11.2/lib/bundler/runtime.rb:61:in `require'
12:44:58 /usr/local/rvm/gems/ruby-2.2.3@test_katello_core-1/gems/bundler-1.11.2/lib/bundler.rb:99:in `require'
12:44:58 /var/lib/workspace/workspace/test_katello_core/database/postgresql/ruby/2.2/slave/fast/foreman/config/application.rb:25:in `<top (required)>'
12:44:58 /var/lib/workspace/workspace/test_katello_core/database/postgresql/ruby/2.2/slave/fast/foreman/Rakefile:1:in `require'
12:44:58 /var/lib/workspace/workspace/test_katello_core/database/postgresql/ruby/2.2/slave/fast/foreman/Rakefile:1:in `<top (required)>'
12:44:58 /usr/local/rvm/gems/ruby-2.2.3@test_katello_core-1/bin/ruby_executable_hooks:15:in `eval'
12:44:58 /usr/local/rvm/gems/ruby-2.2.3@test_katello_core-1/bin/ruby_executable_hooks:15:in `<main>'
12:44:58 (See full trace by running task with --trace)

Foreigner is no longer present in this branch, replaced by the native FK support in Rails 4.2. I don't know if there are further issues.


Related issues 2 (0 open2 closed)

Related to Foreman - Feature #13244: Upgrade Ruby on Rails to 4.2ClosedDominic Cleal01/15/2016Actions
Related to Katello - Refactor #14736: Fix test deprecation warnings from AR find method in Rails 4.2ClosedDavid Davis04/20/2016Actions
Actions #1

Updated by Dominic Cleal about 8 years ago

Actions #2

Updated by Eric Helms about 8 years ago

  • Assignee set to David Davis
  • translation missing: en.field_release set to 143
Actions #3

Updated by The Foreman Bot about 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5954 added
Actions #4

Updated by The Foreman Bot about 8 years ago

  • Pull request https://github.com/Katello/katello/pull/5958 added
Actions #5

Updated by Anonymous almost 8 years ago

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

Updated by David Davis almost 8 years ago

  • Related to Refactor #14736: Fix test deprecation warnings from AR find method in Rails 4.2 added
Actions

Also available in: Atom PDF