The site setting `port` can no longer be set based on Rails environment


(Minsik Yoon) #1

After update discourse version to 1.9 this error occurred.
How could I set port in development env now?


(Simon Cossar) #2

You can set it through the rails console.

SiteSetting.port = 3000