Object allocation during garbage collection phase when compile asset

Hi,

We are using 2.2.2p95 and Rails 4 running on Ubuntu 14.04 LTS. When we
compile assets, sometimes we get messages that looks like below. After
looking at the version 2.2.2 change log (there are some changes in GC)
and recent threads, there were reports on similar issue, but with SSL.
Has anyone run into this issue?

thanks,
mason

==== error message =====
/opt/bakery/shared/bundle/ruby/2.2.0/gems/activesupport-4.1.10/lib/active_support/json/encoding.rb:56:
[BUG] object allocation during garbage collection phase
*** ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]


*** – Control frame information

*** c:0055 p:---- s:0251 e:000250 CFUNC :gsub
*** c:0054 p:0039 s:0246 e:000245 METHOD
/opt/bakery/shared/bundle/ruby/2.2.0/gems/activesupport-4.1.10/lib/active_support/json/encoding.rb:56
[FINISH]
*** c:0053 p:---- s:0242 e:000241 CFUNC
*** :generate
*** c:0052 p:0130 s:0238 e:000237 METHOD
/opt/bakery/shared/bundle/ruby/2.2.0/gems/json-1.8.2/lib/json/common.rb:223
*** c:0051 p:0022 s:0232 e:000231 METHOD
/opt/bakery/shared/bundle/ruby/2.2.0/gems/activesupport-4.1.10/lib/active_support/json/encoding.rb:96
*** c:0050 p:0019 s:0228 e:000227 METHOD