Hanami, ROM and JRuby


I’m trying to use ROM from Hanami with JRuby and I’m getting some problems:

** Invoke environment (first_time)
** Execute environment
rake aborted!
NoMethodError: undefined method `to_sym' for nil:NilClass
Did you mean?  to_s
/usr/local/var/rbenv/versions/jruby- `load_extensions'
/usr/local/var/rbenv/versions/jruby- `initialize'
/usr/local/var/rbenv/versions/jruby- `setup'
/usr/local/var/rbenv/versions/jruby- `block in normalize_gateways'
org/jruby/RubyHash.java:1344:in `each'
org/jruby/RubyEnumerable.java:1079:in `each_with_object'
/usr/local/var/rbenv/versions/jruby- `normalize_gateways'
/usr/local/var/rbenv/versions/jruby- `configure_gateways'
/usr/local/var/rbenv/versions/jruby- `initialize'
/usr/local/var/rbenv/versions/jruby- `initialize'```

Did anybody got all these to work?


Just for the record, we figured out that there’s a difference between jdbc:postgres and jdbc:postgresql where the latter works, so please use it instead. It could be considered as a bug in sequel.