nginxを使いrailsアプリを動かそうとしてます。
nginxサーバーを起動後、作ったアプリ(http://www.hoge.com/hoge/index)にアクセスしようとすると

We're sorry, but something went wrong.
We've been notified about this issue and we'll take a look at it shortly.

の500エラーが表示されます。

developmentモードだからこうなるのでしょうか?
productionモードに切り替えて立ち上がるようにするにはどうすればいいですか?