Skip to content

Commit d35b122

Browse files
committed
Workaround NameError frozen string literal issues with JRuby 9.3 and Rails 5.2/6.0
1 parent 48624ff commit d35b122

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/ruby/jruby/rack/helpers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def resolve_constant(camel_cased_name, context = Object)
134134
require underscore(camel_cased_name)
135135
retry
136136
rescue LoadError => le
137-
e.message << " (#{le.message})"
137+
e.message = "#{e.message} (#{le.message})"
138138
end unless required
139139
raise e
140140
end

0 commit comments

Comments
 (0)