rails-erd icon indicating copy to clipboard operation
rails-erd copied to clipboard

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

Open sohwkjames opened this issue 3 years ago • 1 comments

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

sohwkjames avatar Mar 04 '21 04:03 sohwkjames

@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?

kerrizor avatar Mar 04 '21 20:03 kerrizor