I have a problem where
rails console test
results in
Loading development environment (Rails 3.1.0)
I suspect it's a RAILS_ENV problem because doing
RAILS_ENV=test rails console
results in
Loading test environment (Rails 3.1.0)
Any suggestions? Thanks.
Yes, you must specify RAILS_ENV or use rails console [environment].
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With