未初始化的常量ActiveRecord :: ConnectionAdapters :: PostgreSQL :: OID :: Rails51Point

时间:2018-02-26 16:49:09

标签: ruby-on-rails postgresql jruby jrubyonrails

这是我第一次尝试升级现有的rails应用。我正在尝试更新到rails 5.1.5,当我启动服务器时,我得到:

Gem Load Error is: uninitialized constant ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Rails51Point

这是一个jruby app,这是Gemfile的相关部分:

source 'https://rubygems.org' do gem 'rails', '5.1.5' gem 'haml' gem 'warbler' gem 'jruby-jars', '9.1.15.0' gem 'activerecord-jdbcpostgresql-adapter', platform: :jruby gem 'activeresource' gem 'rspec-rails', '~> 2.99', :group => :development gem 'listen' gem 'rake', '< 12.0' gem 'activerecord-session_store' end

任何帮助或想法都将不胜感激!

0 个答案:

没有答案