Specify gem versions to fix issues