better bundle commands for ruby2 platforms

these are the same changes I made for the ruby platform: https://github.com/tsuru/basebuilder/commit/404b5d943fbb269b2ae30e8506175898c03fc03e
but applied to both ruby2 platforms