# Which ruby and postgres version discourse v1.7.0.beta10 use?

**URL:** https://meta.discourse.org/t/which-ruby-and-postgres-version-discourse-v1-7-0-beta10-use/54685
**Category:** Development
**Tags:** unsupported-install
**Created:** [December 23, 2016, 2:16am UTC](https://meta.discourse.org/t/which-ruby-and-postgres-version-discourse-v1-7-0-beta10-use/54685 "2016-12-23T02:16:13Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![darkrasid](https://avatars.discourse-cdn.com/v4/letter/d/e9bcb4/32.png) [@darkrasid](https://meta.discourse.org/u/darkrasid)
#### Post date: [December 23, 2016, 2:16am UTC](https://meta.discourse.org/t/which-ruby-and-postgres-version-discourse-v1-7-0-beta10-use/54685/1 "2016-12-23T02:16:13Z")

</div>

Hi, I try to install discourse v1.7.0.beta10 version.

There are some reason that I can’t use docker which discourse offer.  
so I try to install from source directly.

I have base ubuntu which installed discourse v1.6.4 before and I reuse this one.  
But I get this error when I try to db migrate.

`TypeError: no implicit conversion of nil into String`

I guess it is because of ruby or postgres version.  
On my ubuntu, I use

```plaintext
ruby : 2.3.0
postgres: 9.4

```

Is there any specific version do I have to use?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [December 23, 2016, 2:22am UTC](https://meta.discourse.org/t/which-ruby-and-postgres-version-discourse-v1-7-0-beta10-use/54685/2 "2016-12-23T02:22:40Z")

</div>

Even when not using the supported install, you should [take a look at it](https://github.com/discourse/discourse_docker/blob/master/image/base/Dockerfile) to see what it uses.

We are using PostgreSQL 9.5 currently.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [December 23, 2016, 2:54am UTC](https://meta.discourse.org/t/which-ruby-and-postgres-version-discourse-v1-7-0-beta10-use/54685/3 "2016-12-23T02:54:41Z")

</div>

You might try starting with the development environment install instructions and then try to switch to production mode.

---

<div class="post-metadata">

### Author: ![darkrasid](https://avatars.discourse-cdn.com/v4/letter/d/e9bcb4/32.png) [@darkrasid](https://meta.discourse.org/u/darkrasid)
#### Post date: [December 27, 2016, 12:02pm UTC](https://meta.discourse.org/t/which-ruby-and-postgres-version-discourse-v1-7-0-beta10-use/54685/4 "2016-12-27T12:02:23Z")

</div>

This is awesome!! Thank you.

I could set my ubuntu follow this dockerfile.
