Adding changing the tmux global setting, still not effective but closer.
Increasing the buffer to 4000.
Adding required items for ruby block