You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jruby 9.1.8.0 (2.3.1) 2017-03-06 90fc7ab Java HotSpot(TM) 64-Bit Server VM 25.51-b03 on 1.8.0_51-b16 +jit [darwin-x86_64]
irb(main):001:0> '%<adapter>s://%<host>s/%<database>s?user=%<user>s&password=%<password>s' % {:adapter=>"jdbc:postgresql", :host=>"TFB-database", :database=>"hello_world", :user=>"benchmarkdbuser", :password=>"benchmarkdbpass"}
ArgumentError: name<host> after <adapter>
from org/jruby/RubyString.java:1191:in `%'
from (irb):1:in `<eval>'
from org/jruby/RubyKernel.java:1000:in `eval'
from org/jruby/RubyKernel.java:1298:in `loop'
from org/jruby/RubyKernel.java:1120:in `catch'
from org/jruby/RubyKernel.java:1120:in `catch'
from /Users/mwp/.rbenv/versions/jruby-9.1.8.0/bin/irb:13:in `<main>'
The text was updated successfully, but these errors were encountered:
Several commits since 9.1.8.0 have fixed all known %/sprintf bugs (except one negative value with %u issue). This particular case is working as expected. 9.1.9.0 in a week or so...
Environment
Expected Behavior
Actual Behavior
The text was updated successfully, but these errors were encountered: