Merge pull request #3533 from hjdivad/fix-trackedarray-bug

[BUGFIX beta] Fix edge case in `TrackedArray`.
build rubygem beta version string correctly
upgrade gem deps