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.
Actions