Drew
Drew

Reputation: 2663

Rails Env Issue

So the other day I was trying to replicate some of the tests that were being ran by circleci and before some of the commands I called:

export RAILS_ENV=test
export RACK_ENV=test

and now I guess the problem is that I seem to be stuck in test?

Also, I've tried executing those same commands except with each of the vars set to development, yet to no avail.

Any ideas?

Upvotes: 1

Views: 346

Answers (1)

Jonathan Frias
Jonathan Frias

Reputation: 200

try 'unsetting' those env variables.

export RAILS_ENV=
export RACK_ENV=

or try restarting the server to set them back to default.

Upvotes: 1

Related Questions