reverted to original ruby and cap version