Actions
Refactor #14156
closedSupport Ruby on Rails 4.2 without Foreigner
Pull request:
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.
Updated by Dominic Cleal almost 9 years ago
- Related to Feature #13244: Upgrade Ruby on Rails to 4.2 added
Updated by Eric Helms almost 9 years ago
- Assignee set to David Davis
- Translation missing: en.field_release set to 143
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/5954 added
Updated by The Foreman Bot over 8 years ago
- Pull request https://github.com/Katello/katello/pull/5958 added
Updated by Anonymous over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|5e391125d585a4e00d69221405a123a57e615cc2.
Updated by David Davis over 8 years ago
- Related to Refactor #14736: Fix test deprecation warnings from AR find method in Rails 4.2 added
Actions