Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please create a file in '.../config/environment.rb' that loads your application environment. #367

Open
sohwkjames opened this issue Mar 4, 2021 · 1 comment

Comments

@sohwkjames
Copy link

sohwkjames commented Mar 4, 2021

What is expected to be in my /config/environment.rb? May I have some examples please

@kerrizor
Copy link
Collaborator

kerrizor commented Mar 4, 2021

@sohwkjames Generally speaking, this error occurs when you're running it in a context where it can't load up Rails. This tools is aimed primarily at those applications, and should be run from the application's root folder. Are you running it against something that isn't Rails, or in a different location?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants