Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading some constants twice with Rails 4.2.0.rc1 and postgres #2286

Closed
nateberkopec opened this issue Dec 6, 2014 · 2 comments
Closed

Loading some constants twice with Rails 4.2.0.rc1 and postgres #2286

nateberkopec opened this issue Dec 6, 2014 · 2 comments

Comments

@nateberkopec
Copy link

On JRuby 1.7.16.1, running Rails 4.2.0.rc1, I get the following when starting Rails:

(...)/gems/activerecord-4.2.0.rc1/lib/active_record/connection_adapters/postgresql/array_parser.rb:6 warning: already initialized constant DOUBLE_QUOTE
(...)/gems/activerecord-4.2.0.rc1/lib/active_record/connection_adapters/postgresql/array_parser.rb:7 warning: already initialized constant BACKSLASH
(...)/gems/activerecord-4.2.0.rc1/lib/active_record/connection_adapters/postgresql/array_parser.rb:8 warning: already initialized constant COMMA
(...)/gems/activerecord-4.2.0.rc1/lib/active_record/connection_adapters/postgresql/array_parser.rb:9 warning: already initialized constant BRACKET_OPEN
(...)/gems/activerecord-4.2.0.rc1/lib/active_record/connection_adapters/postgresql/array_parser.rb:10 warning: already initialized constant BRACKET_CLOSE
@chasseurmic
Copy link

+1

@kares
Copy link
Member

kares commented Dec 27, 2014

this issue has nothing to-do with JRuby itself but is caused by the activerecord-jdbc-adapter gem ...
following up Rails is a (constant) hustle as the ActiveRecord internals change, the 4.2 release is a particularly painful release for AR-JDBC. please help us get 4.2 support in at : jruby/activerecord-jdbc-adapter#599

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants