---
title: "cloud foundry部署报错TypeError: can't convert Hash into String"
author: "vergilwang"
date: "2013-07-31T10:24:00Z"
tags: []
categories: ["互联网"]
slug: "cloud-foundry-typeerror-can-t-convert-hash-into-string"
draft: false
lastmod: "2014-02-15T12:31:51Z"
id: 2011135
url: "https://vergilwang.iteye.com/blog/2011135"
---

## 报错：TypeError: can't convert Hash into String

The first thing I notice is you are running Ruby 1.8 on OS X which is not supported as it's an old version. If you can follow the instructions for installing a recent version of Ruby -[http://docs.cloudfoundry.com/docs/common/install\_ruby.html#osx](http://docs.cloudfoundry.com/docs/common/install_ruby.html#osx)have another go after doing this and then come back if the issue persists.

因为ruby版本太低，ubuntu默认apt-get 是1.8的 cloud foundry要求1.9