Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/postgresql/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/xml/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Postgresql 如何消除它。JRuby、Rails 6和Postgres的常量…列转储程序错误_Postgresql_Jruby_Ruby On Rails 6 - Fatal编程技术网

Postgresql 如何消除它。JRuby、Rails 6和Postgres的常量…列转储程序错误

Postgresql 如何消除它。JRuby、Rails 6和Postgres的常量…列转储程序错误,postgresql,jruby,ruby-on-rails-6,Postgresql,Jruby,Ruby On Rails 6,我正在尝试将一个使用Postgresql的Rails 6应用程序移植到JRuby 9.2.13.0。我已修改该文件以包含: IS_JRUBY = (RUBY_PLATFORM == 'java') ruby (IS_JRUBY ? '2.5.7' : '2.7.1') if IS_JRUBY gem 'activerecord-jdbcpostgresql-adapter' else gem 'pg', '>= 0.18', '< 2.0' end 我做错什么了吗?我怎

我正在尝试将一个使用Postgresql的Rails 6应用程序移植到JRuby 9.2.13.0。我已修改该文件以包含:

IS_JRUBY = (RUBY_PLATFORM == 'java')

ruby (IS_JRUBY ? '2.5.7' : '2.7.1')

if IS_JRUBY
  gem 'activerecord-jdbcpostgresql-adapter'
else
  gem 'pg', '>= 0.18', '< 2.0'
end
我做错什么了吗?我怎样才能解决这个问题

NameError: uninitialized constant ActiveRecord::ConnectionAdapters::PostgreSQL::ColumnDumper
        load_missing_constant at /home/kbennett/.rvm/gems/jruby-9.2.13.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:589