Move ruby_block to the right place