Run rails c instead - this will open the console as the correct user in the correct mode.
You can also do this with rake and discourse (for /var/www/discourse/script/discourse).
Run rails c instead - this will open the console as the correct user in the correct mode.
You can also do this with rake and discourse (for /var/www/discourse/script/discourse).